Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
pcre2-10.45/src/pcre2test.c:9167:17: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘*<unknown>’
pcre2-10.45/src/pcre2test.c:9436:1: enter_function: entry to ‘main’
pcre2-10.45/src/pcre2test.c:9467:4: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9470:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9467:5: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9473:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9467:5: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9476:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9467:5: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9477:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9467:5: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9485:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9485:4: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9486:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9485:5: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9495:7: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9530:8: branch_true: following ‘true’ branch...
pcre2-10.45/src/pcre2test.c:9538:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9546:7: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9546:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9554:7: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9554:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9562:7: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9562:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9573:7: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9573:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9586:12: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9586:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9600:12: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9600:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9616:12: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9616:11: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9620:12: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9620:11: branch_true: following ‘true’ branch...
pcre2-10.45/src/pcre2test.c:9630:8: branch_false: following ‘false’ branch (when ‘uli <= 4294967295’)...
pcre2-10.45/src/pcre2test.c:9635:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9638:8: branch_false: following ‘false’ branch...
pcre2-10.45/src/pcre2test.c:9650:10: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9651:8: branch_false: following ‘false’ branch (when ‘rc == 0’)...
pcre2-10.45/src/pcre2test.c:9658:5: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9530:8: branch_true: following ‘true’ branch...
pcre2-10.45/src/pcre2test.c:9538:6: branch_false: following ‘false’ branch (when the strings are non-equal)...
pcre2-10.45/src/pcre2test.c:9546:7: branch_false: ...to here
pcre2-10.45/src/pcre2test.c:9546:6: branch_true: following ‘true’ branch (when the strings are equal)...
pcre2-10.45/src/pcre2test.c:9548:5: branch_true: ...to here
pcre2-10.45/src/pcre2test.c:9548:5: call_function: calling ‘display_properties’ from ‘main’
# 9165|   size_t max = 0;
# 9166|   
# 9167|-> for (count = 0; ff[count] >= 0; count++) {}
# 9168|   
# 9169|   /* Find the name to put first. For scripts, any 3-character name is chosen.

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
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-44.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namepcre2-10.45-1.fc43
diffbase-store-results-to/tmp/tmp8tvw92qz/pcre2-10.45-1.fc43.tar.xz
diffbase-time-created2025-04-25 15:11:41
diffbase-time-finished2025-04-25 15:16:12
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp8tvw92qz/pcre2-10.45-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp8tvw92qz/pcre2-10.45-1.fc43.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-44.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-namepcre2-10.45-1.fc42
store-results-to/tmp/tmph_14weyx/pcre2-10.45-1.fc42.tar.xz
time-created2025-04-25 15:06:33
time-finished2025-04-25 15:11:28
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmph_14weyx/pcre2-10.45-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmph_14weyx/pcre2-10.45-1.fc42.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9