Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-775): [#def1]
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:270:9: warning[-Wanalyzer-file-leak]: leak of FILE ‘fopen("/builddir/build/BUILD/localsearch-3.10.2//tests/extract-utils/getline-test.txt", "r")’
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:269:13: acquire_resource: opened here
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:270:9: throw: if ‘tracker_getline’ throws an exception...
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:270:9: danger: ‘fopen("/builddir/build/BUILD/localsearch-3.10.2//tests/extract-utils/getline-test.txt", "r")’ leaks here; was opened at [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0)
#  268|    
#  269|           f = fopen (TOP_SRCDIR "/tests/extract-utils/getline-test.txt", "r");
#  270|->         g_assert_cmpint (tracker_getline (&line, &n, f), >, 0);
#  271|           g_assert_cmpstr (line, ==, "Line 1\n");
#  272|           g_free (line);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:270:9: warning[-Wanalyzer-malloc-leak]: leak of ‘fopen("/builddir/build/BUILD/localsearch-3.10.2//tests/extract-utils/getline-test.txt", "r")’
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:269:13: acquire_memory: allocated here
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:270:9: throw: if ‘tracker_getline’ throws an exception...
localsearch-3.10.2/tests/extract-utils/tracker-utils-test.c:270:9: danger: ‘fopen("/builddir/build/BUILD/localsearch-3.10.2//tests/extract-utils/getline-test.txt", "r")’ leaks here; was allocated at [(1)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/0)
#  268|    
#  269|           f = fopen (TOP_SRCDIR "/tests/extract-utils/getline-test.txt", "r");
#  270|->         g_assert_cmpint (tracker_getline (&line, &n, f), >, 0);
#  271|           g_assert_cmpstr (line, ==, "Line 1\n");
#  272|           g_free (line);

Scan Properties

analyzer-version-clippy1.92.0
analyzer-version-cppcheck2.19.1
analyzer-version-gcc16.0.0
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.92.0
diffbase-analyzer-version-cppcheck2.19.1
diffbase-analyzer-version-gcc16.0.0
diffbase-analyzer-version-gcc-analyzer16.0.0
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-207.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namelocalsearch-3.10.1-1.fc43
diffbase-store-results-to/tmp/tmphzqoed5u/localsearch-3.10.1-1.fc43.tar.xz
diffbase-time-created2026-01-08 19:21:11
diffbase-time-finished2026-01-08 19:24:27
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmphzqoed5u/localsearch-3.10.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmphzqoed5u/localsearch-3.10.1-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-207.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelocalsearch-3.10.2-1.fc44
store-results-to/tmp/tmpt2hf5d2t/localsearch-3.10.2-1.fc44.tar.xz
time-created2026-01-08 19:24:57
time-finished2026-01-08 19:27:39
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpt2hf5d2t/localsearch-3.10.2-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpt2hf5d2t/localsearch-3.10.2-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9