Fixed defects

List of Defects

Error: CLANG_WARNING: [#def1]
man-db-2.12.0-build/man-db-2.12.0/gl/lib/argp-help.c:655:3: warning[core.uninitialized.Assign]: Assigned value is garbage or undefined
#  653|   hol_find_entry (struct hol *hol, const char *name)
#  654|   {
#  655|->   struct hol_entry *entry = hol->entries;
#  656|     unsigned num_entries = hol->num_entries;
#  657|   

Error: GCC_ANALYZER_WARNING (CWE-457): [#def2]
man-db-2.12.0-build/man-db-2.12.0/gl/lib/argp-help.c: scope_hint: In function 'hol_find_entry'
man-db-2.12.0-build/man-db-2.12.0/gl/lib/argp-help.c:655:21: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value '*hol.entries'
man-db-2.12.0-build/man-db-2.12.0/gl/lib/argp-help.c:1858:1: note: in expansion of macro '__argp_state_help'
man-db-2.12.0-build/man-db-2.12.0/gl/lib/argp-help.c:1696:3: note: in expansion of macro '__flockfile'
man-db-2.12.0-build/man-db-2.12.0/gl/lib/argp-help.c: scope_hint: In function 'hol_find_entry'
#  653|   hol_find_entry (struct hol *hol, const char *name)
#  654|   {
#  655|->   struct hol_entry *entry = hol->entries;
#  656|     unsigned num_entries = hol->num_entries;
#  657|   

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
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-92.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-nameman-db-2.12.1-1.fc41
diffbase-store-results-to/tmp/tmpgsvbnppk/man-db-2.12.1-1.fc41.tar.xz
diffbase-time-created2024-07-03 16:11:49
diffbase-time-finished2024-07-03 16:14:46
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpgsvbnppk/man-db-2.12.1-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpgsvbnppk/man-db-2.12.1-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-92.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameman-db-2.12.0-6.fc40
store-results-to/tmp/tmpadr1u9u7/man-db-2.12.0-6.fc40.tar.xz
time-created2024-07-03 16:08:24
time-finished2024-07-03 16:11:36
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpadr1u9u7/man-db-2.12.0-6.fc40.tar.xz' '--gcc-analyze' '/tmp/tmpadr1u9u7/man-db-2.12.0-6.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9