Task #131766 - added.err

back to task #131766
download
Error: GCC_ANALYZER_WARNING (CWE-688):
libsoup-3.7.1/tests/server-test.c:1430:28: warning[-Wanalyzer-null-argument]: use of NULL ‘boundary’ where non-null expected
libsoup-3.7.1/tests/server-test.c:1375:1: enter_function: entry to ‘do_chunked_test’
libsoup-3.7.1/tests/server-test.c:1391:9: call_function: calling ‘server_add_handler’ from ‘do_chunked_test’
libsoup-3.7.1/tests/server-test.c:1391:9: return_function: returning to ‘do_chunked_test’ from ‘server_add_handler’
libsoup-3.7.1/tests/server-test.c:1393:21: branch_true: following ‘true’ branch (when ‘i != 4’)...
libsoup-3.7.1/tests/server-test.c:1403:25: branch_true: ...to here
libsoup-3.7.1/tests/server-test.c:1429:17: branch_false: following ‘false’ branch (when ‘boundary’ is NULL)...
libsoup-3.7.1/tests/server-test.c:1429:17: branch_false: ...to here
libsoup-3.7.1/tests/server-test.c:1430:28: danger: argument 1 (‘boundary’) NULL where non-null expected
# 1428|                   boundary = strstr (response->str, "\r\n");
# 1429|                   g_assert_nonnull (boundary);
# 1430|->                 response = g_string_truncate (response, response->len - strlen (boundary));
# 1431|                   g_assert_cmpstr (response->str, ==, tests[i].expected_response);
# 1432|                   g_string_free (response, TRUE);

Error: GCC_ANALYZER_WARNING (CWE-688):
libsoup-3.7.1/tests/server-test.c:1493:28: warning[-Wanalyzer-null-argument]: use of NULL ‘boundary’ where non-null expected
libsoup-3.7.1/tests/server-test.c:1441:1: enter_function: entry to ‘do_multiple_content_length_test’
libsoup-3.7.1/tests/server-test.c:1455:9: call_function: calling ‘server_add_handler’ from ‘do_multiple_content_length_test’
libsoup-3.7.1/tests/server-test.c:1455:9: return_function: returning to ‘do_multiple_content_length_test’ from ‘server_add_handler’
libsoup-3.7.1/tests/server-test.c:1457:21: branch_true: following ‘true’ branch (when ‘i != 2’)...
libsoup-3.7.1/tests/server-test.c:1467:25: branch_true: ...to here
libsoup-3.7.1/tests/server-test.c:1492:17: branch_false: following ‘false’ branch (when ‘boundary’ is NULL)...
libsoup-3.7.1/tests/server-test.c:1492:17: branch_false: ...to here
libsoup-3.7.1/tests/server-test.c:1493:28: danger: argument 1 (‘boundary’) NULL where non-null expected
# 1491|                   boundary = strstr (response->str, "\r\n");
# 1492|                   g_assert_nonnull (boundary);
# 1493|->                 response = g_string_truncate (response, response->len - strlen (boundary));
# 1494|                   g_assert_cmpstr (response->str, ==, tests[i].expected_response);
# 1495|                   g_string_free (response, TRUE);