Error: GCC_ANALYZER_WARNING (CWE-688): [#def1] 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): [#def2] 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);
| analyzer-version-clippy | 1.97.1 |
| analyzer-version-cppcheck | 2.21.1 |
| analyzer-version-gcc | 16.1.1 |
| analyzer-version-gcc-analyzer | 16.1.1 |
| analyzer-version-shellcheck | 0.11.0 |
| analyzer-version-unicontrol | 0.0.2 |
| diffbase-analyzer-version-clippy | 1.97.1 |
| diffbase-analyzer-version-cppcheck | 2.21.1 |
| diffbase-analyzer-version-gcc | 16.1.1 |
| diffbase-analyzer-version-gcc-analyzer | 16.1.1 |
| diffbase-analyzer-version-shellcheck | 0.11.0 |
| diffbase-analyzer-version-unicontrol | 0.0.2 |
| diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| diffbase-exit-code | 0 |
| diffbase-host | ip-172-16-1-26.us-west-2.compute.internal |
| diffbase-known-false-positives | /usr/share/csmock/known-false-positives.js |
| diffbase-known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| diffbase-mock-config | fedora-rawhide-x86_64 |
| diffbase-project-name | libsoup3-3.6.6-6.fc44 |
| diffbase-store-results-to | /tmp/tmpnogyhcps/libsoup3-3.6.6-6.fc44.tar.xz |
| diffbase-time-created | 2026-08-03 17:57:20 |
| diffbase-time-finished | 2026-08-03 18:01:35 |
| diffbase-tool | csmock |
| diffbase-tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpnogyhcps/libsoup3-3.6.6-6.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpnogyhcps/libsoup3-3.6.6-6.fc44.src.rpm' |
| diffbase-tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |
| enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
| exit-code | 0 |
| host | ip-172-16-1-26.us-west-2.compute.internal |
| known-false-positives | /usr/share/csmock/known-false-positives.js |
| known-false-positives-rpm | known-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch |
| mock-config | fedora-rawhide-x86_64 |
| project-name | libsoup3-3.7.1-4.fc45 |
| store-results-to | /tmp/tmptxma_lia/libsoup3-3.7.1-4.fc45.tar.xz |
| time-created | 2026-08-03 18:01:47 |
| time-finished | 2026-08-03 18:05:10 |
| title | Newly introduced findings |
| tool | csmock |
| tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmptxma_lia/libsoup3-3.7.1-4.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmptxma_lia/libsoup3-3.7.1-4.fc45.src.rpm' |
| tool-version | csmock-3.8.7.20260803.142340.gb75b18e-1.el9 |