Newly introduced findings

List of Findings

Error: COMPILER_WARNING (CWE-563): [#def1]
jss-5.9.0~alpha1/native/src/main/native/org/mozilla/jss/pkcs11/PK11PrivKey.c:233:14: warning[-Wunused-variable]: unused variable ‘paramSet’
#  233 |     CK_ULONG paramSet = CK_UNAVAILABLE_INFORMATION;
#      |              ^~~~~~~~
cc1: note: unrecognized command-line option ‘-Wno-unknown-warning-option’ may have been intended to silence earlier diagnostics
#  231|       SECKEYPrivateKey *privk;
#  232|       jint size = -1;
#  233|->     CK_ULONG paramSet = CK_UNAVAILABLE_INFORMATION;
#  234|       SECItem  item;
#  235|       SECStatus rv;

Error: COMPILER_WARNING (CWE-563): [#def2]
jss-5.9.0~alpha1/native/src/main/native/org/mozilla/jss/pkcs11/PK11PrivKey.c:234:14: warning[-Wunused-variable]: unused variable ‘item’
#  234 |     SECItem  item;
#      |              ^~~~
#  232|       jint size = -1;
#  233|       CK_ULONG paramSet = CK_UNAVAILABLE_INFORMATION;
#  234|->     SECItem  item;
#  235|       SECStatus rv;
#  236|   

Error: COMPILER_WARNING (CWE-563): [#def3]
jss-5.9.0~alpha1/native/src/main/native/org/mozilla/jss/pkcs11/PK11PrivKey.c: scope_hint: In function ‘Java_org_mozilla_jss_pkcs11_PK11PrivKey_getMLDSAKeyParam’
jss-5.9.0~alpha1/native/src/main/native/org/mozilla/jss/pkcs11/PK11PrivKey.c:235:15: warning[-Wunused-variable]: unused variable ‘rv’
#  235 |     SECStatus rv;
#      |               ^~
#  233|       CK_ULONG paramSet = CK_UNAVAILABLE_INFORMATION;
#  234|       SECItem  item;
#  235|->     SECStatus rv;
#  236|   
#  237|       PR_ASSERT(env!=NULL && this!=NULL);

Scan Properties

analyzer-version-clippy1.90.0
analyzer-version-cppcheck2.18.3
analyzer-version-gcc15.2.1
analyzer-version-gcc-analyzer15.2.1
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-analyzer15.2.1
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-107.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-namejss-5.9.0~alpha1-1.20251022174934236486.master.50.gc5566fc2
diffbase-store-results-to/tmp/tmp88urs2jg/jss-5.9.0~alpha1-1.20251022174934236486.master.50.gc5566fc2.tar.xz
diffbase-time-created2025-10-27 10:50:22
diffbase-time-finished2025-10-27 10:54:51
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmp88urs2jg/jss-5.9.0~alpha1-1.20251022174934236486.master.50.gc5566fc2.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp88urs2jg/jss-5.9.0~alpha1-1.20251022174934236486.master.50.gc5566fc2.src.rpm'
diffbase-tool-versioncsmock-3.8.3.20251013.170946.gb8b9f75-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-107.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-namejss-5.9.0~alpha1-1.20251027104157225657.pr1070.51.g29a2bf78
store-results-to/tmp/tmpkr1u7l4a/jss-5.9.0~alpha1-1.20251027104157225657.pr1070.51.g29a2bf78.tar.xz
time-created2025-10-27 10:55:10
time-finished2025-10-27 10:58:58
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmpkr1u7l4a/jss-5.9.0~alpha1-1.20251027104157225657.pr1070.51.g29a2bf78.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpkr1u7l4a/jss-5.9.0~alpha1-1.20251027104157225657.pr1070.51.g29a2bf78.src.rpm'
tool-versioncsmock-3.8.3.20251013.170946.gb8b9f75-1.el9