expat-2.7.1-1.fc43

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
expat-2.7.1/lib/xmltok.c:1374:5: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'utf8'
expat-2.7.1/lib/xmltok.c:1357:8: branch_false: following 'false' branch...
expat-2.7.1/lib/xmltok.c:1359:38: branch_false: ...to here
expat-2.7.1/lib/xmltok.c:1361:8: branch_true: following 'true' branch (when 'n == 0')...
expat-2.7.1/lib/xmltok.c:1362:15: branch_true: ...to here
expat-2.7.1/lib/xmltok.c:1364:10: branch_false: following 'false' branch...
expat-2.7.1/lib/xmltok.c:1367:7: branch_false: ...to here
expat-2.7.1/lib/xmltok.c:1374:5: danger: use of uninitialized value 'utf8' here
# 1372|         (*fromP)++;
# 1373|       }
# 1374|->     memcpy(*toP, utf8, n);
# 1375|       *toP += n;
# 1376|     }

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-93.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameexpat-2.7.1-1.fc43
store-results-to/tmp/tmp1qd1__ml/expat-2.7.1-1.fc43.tar.xz
time-created2025-04-25 12:27:37
time-finished2025-04-25 12:29:36
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp1qd1__ml/expat-2.7.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp1qd1__ml/expat-2.7.1-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9