libpwquality-1.4.5-10.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/check.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def2]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/generate.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/generate.c:81:9: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#   79|   consume_entropy(char *buf, int bits, int *remaining, int *offset)
#   80|   {
#   81|->         unsigned int low = (unsigned char)buf[*offset/8];
#   82|           unsigned int high = 0;
#   83|   

Error: CPPCHECK_WARNING: [#def4]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/pam_pwquality.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def5]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/pwmake.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def6]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/pwscore.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CPPCHECK_WARNING: [#def7]
libpwquality-1.4.5-build/libpwquality-1.4.5/src/settings.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

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-85.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibpwquality-1.4.5-10.fc41
store-results-to/tmp/tmppfar5k8i/libpwquality-1.4.5-10.fc41.tar.xz
time-created2024-07-03 15:52:09
time-finished2024-07-03 15:53:05
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmppfar5k8i/libpwquality-1.4.5-10.fc41.tar.xz' '--gcc-analyze' '/tmp/tmppfar5k8i/libpwquality-1.4.5-10.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9