perl-Digest-MD5-2.59-4.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
perl-Digest-MD5-2.59-build/Digest-MD5-2.59/MD5.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
perl-Digest-MD5-2.59-build/Digest-MD5-2.59/MD5.c:1063:17: warning[deadcode.DeadStores]: Value stored to 'file' during its initialization is never read
# 1061|       char* file = __FILE__;
# 1062|   #else
# 1063|->     const char* file = __FILE__;
# 1064|   #endif
# 1065|   

Error: CLANG_WARNING: [#def3]
perl-Digest-MD5-2.59-build/Digest-MD5-2.59/MD5.xs:289:2: warning[core.UndefinedBinaryOperatorResult]: The left operand of '<<' is a garbage value
#  287|   
#  288|   	/* Round 1 */
#  289|-> 	FF (a, b, c, d, S11, 0xd76aa478); /* 1 */
#  290|   	FF (d, a, b, c, S12, 0xe8c7b756); /* 2 */
#  291|   	FF (c, d, a, b, S13, 0x242070db); /* 3 */

Error: CPPCHECK_WARNING (CWE-457): [#def4]
perl-Digest-MD5-2.59-build/Digest-MD5-2.59/MD5.xs:508: warning[uninitvar]: Uninitialized variable: to
#  506|       }
#  507|       *d = '\0';
#  508|->     return to;
#  509|   }
#  510|   

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-134.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameperl-Digest-MD5-2.59-4.fc41
store-results-to/tmp/tmpgjls7mof/perl-Digest-MD5-2.59-4.fc41.tar.xz
time-created2024-07-03 16:39:00
time-finished2024-07-03 16:39:54
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpgjls7mof/perl-Digest-MD5-2.59-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpgjls7mof/perl-Digest-MD5-2.59-4.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9