libSM-1.2.5-4.fc44

List of Findings

Error: CPPCHECK_WARNING (CWE-457): [#def1]
libSM-1.2.5/src/sm_client.c:218: error[uninitvar]: Uninitialized variable: reply
#  216|       replyWait.major_opcode_of_request = _SmcOpcode;
#  217|       replyWait.minor_opcode_of_request = SM_RegisterClient;
#  218|->     replyWait.reply = (IcePointer) &reply;
#  219|   
#  220|       gotReply = False;

Error: CPPCHECK_WARNING (CWE-457): [#def2]
libSM-1.2.5/src/sm_client.c:251: error[uninitvar]: Uninitialized variable: *clientIdRet
#  249|   		*clientIdRet = reply.client_id;
#  250|   
#  251|-> 		smcConn->client_id = strdup (*clientIdRet);
#  252|   	    }
#  253|   	    else

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-32.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namelibSM-1.2.5-4.fc44
store-results-to/tmp/tmpnfo7s1n3/libSM-1.2.5-4.fc44.tar.xz
time-created2026-08-03 16:44:29
time-finished2026-08-03 16:46:33
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpnfo7s1n3/libSM-1.2.5-4.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpnfo7s1n3/libSM-1.2.5-4.fc44.src.rpm'
tool-versioncsmock-3.8.7.20260803.142340.gb75b18e-1.el9