Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
gzip-1.14/gzip.c:1472:23: warning[-Wanalyzer-malloc-leak]: leak of 'entry'
gzip-1.14/gzip.c:1923:1: enter_function: entry to 'treat_dir'
gzip-1.14/gzip.c:1933:8: branch_false: following 'false' branch...
gzip-1.14/gzip.c:1939:15: branch_false: ...to here
gzip-1.14/gzip.c:1939:15: acquire_memory: allocated here
gzip-1.14/gzip.c:1940:8: branch_false: following 'false' branch...
gzip-1.14/gzip.c:1942:9: branch_false: ...to here
gzip-1.14/gzip.c:1944:8: branch_false: following 'false' branch...
gzip-1.14/gzip.c:1944:8: branch_false: ...to here
gzip-1.14/gzip.c:1947:27: branch_true: following 'true' branch...
gzip-1.14/gzip.c:1948:22: branch_true: ...to here
gzip-1.14/gzip.c:1950:12: branch_false: following 'false' branch...
gzip-1.14/gzip.c:1952:12: branch_true: following 'true' branch...
gzip-1.14/gzip.c:1953:13: call_function: inlined call to 'strcpy' from 'treat_dir'
gzip-1.14/gzip.c:1957:13: call_function: calling 'treat_file' from 'treat_dir'
# 1470|               imagic1 = 0; /* avoid lint warning */
# 1471|           } else {
# 1472|->             imagic1 = try_byte ();
# 1473|               magic[1] = imagic1;
# 1474|           }

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-81.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-namegzip-1.13-4.fc43
diffbase-store-results-to/tmp/tmp_cpcjmz6/gzip-1.13-4.fc43.tar.xz
diffbase-time-created2026-01-08 16:56:21
diffbase-time-finished2026-01-08 16:58:38
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmp_cpcjmz6/gzip-1.13-4.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp_cpcjmz6/gzip-1.13-4.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-81.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-namegzip-1.14-1.fc44
store-results-to/tmp/tmpkofnhjp5/gzip-1.14-1.fc44.tar.xz
time-created2026-01-08 16:59:04
time-finished2026-01-08 17:00:55
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,clippy,shellcheck,unicontrol' '-o' '/tmp/tmpkofnhjp5/gzip-1.14-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpkofnhjp5/gzip-1.14-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251215.161544.g62de9a5-1.el9