Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
sscg-sscg-4.0.0/test/create_cert_test.c:118:3: warning[-Wanalyzer-malloc-leak]: leak of ‘ext_str’
sscg-sscg-4.0.0/test/create_cert_test.c:61:6: branch_false: following ‘false’ branch...
sscg-sscg-4.0.0/test/create_cert_test.c:69:26: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:70:6: branch_false: following ‘false’ branch...
sscg-sscg-4.0.0/test/create_cert_test.c:77:14: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:78:6: branch_false: following ‘false’ branch...
sscg-sscg-4.0.0/test/create_cert_test.c:85:9: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:86:6: branch_false: following ‘false’ branch...
sscg-sscg-4.0.0/test/create_cert_test.c:93:8: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:93:6: branch_false: following ‘false’ branch...
sscg-sscg-4.0.0/test/create_cert_test.c:101:13: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:102:6: branch_false: following ‘false’ branch (when ‘ext_len > 0’)...
sscg-sscg-4.0.0/test/create_cert_test.c:109:21: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:109:13: acquire_memory: allocated here
sscg-sscg-4.0.0/test/create_cert_test.c:110:6: branch_false: following ‘false’ branch (when ‘ext_str’ is non-NULL)...
sscg-sscg-4.0.0/test/create_cert_test.c:118:3: branch_false: ...to here
sscg-sscg-4.0.0/test/create_cert_test.c:118:3: danger: ‘ext_str’ leaks here; was allocated at [(13)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/12)
#  116|       }
#  117|   
#  118|->   BIO_read (bio, ext_str, ext_len);
#  119|     ext_str[ext_len] = '\0';
#  120|     BIO_free (bio);

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer16.0.0
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.90.0
diffbase-analyzer-version-cppcheck2.18.3
diffbase-analyzer-version-gcc15.2.1
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-14.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-gcc-latest-x86_64
diffbase-project-namesscg-3.0.8-2.fc43
diffbase-store-results-to/tmp/tmpxqsmj2pk/sscg-3.0.8-2.fc43.tar.xz
diffbase-time-created2025-10-28 20:28:13
diffbase-time-finished2025-10-28 20:29:58
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpxqsmj2pk/sscg-3.0.8-2.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpxqsmj2pk/sscg-3.0.8-2.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-14.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-gcc-latest-x86_64
project-namesscg-4.0.0-1.fc44
store-results-to/tmp/tmpgqbb5w82/sscg-4.0.0-1.fc44.tar.xz
time-created2025-10-28 20:30:21
time-finished2025-10-28 20:31:38
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpgqbb5w82/sscg-4.0.0-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpgqbb5w82/sscg-4.0.0-1.fc44.src.rpm'
tool-versioncsmock-3.8.3.20251027.143044.ge6b947b-1.el9