Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
pcre2-10.42/src/pcre2_internal.h:143: included_from: Included from here.
pcre2-10.42/src/pcre2_match.c:63: included_from: Included from here.
pcre2-10.42/src/pcre2_match.c: scope_hint: In function 'match'
pcre2-10.42/src/pcre2_internal.h:1997:51: warning[-Wanalyzer-null-dereference]: dereference of NULL 'P'
pcre2-10.42/src/pcre2.h:798:25: note: in definition of macro 'PCRE2_JOIN'
pcre2-10.42/src/pcre2.h:977:25: note: in expansion of macro 'PCRE2_GLUE'
pcre2-10.42/src/pcre2_internal.h:1997:38: note: in expansion of macro 'PCRE2_SUFFIX'
pcre2-10.42/src/pcre2_internal.h:177:20: note: in expansion of macro '_pcre2_script_run'
pcre2-10.42/src/pcre2_match.c:5830:12: note: in expansion of macro 'PRIV'
pcre2-10.42/src/pcre2_match.c:761:5: note: in expansion of macro 'Frdepth'
pcre2-10.42/src/pcre2.h:798:25: note: in definition of macro 'PCRE2_JOIN'
pcre2-10.42/src/pcre2.h:977:25: note: in expansion of macro 'PCRE2_GLUE'
pcre2-10.42/src/pcre2_internal.h:1997:38: note: in expansion of macro 'PCRE2_SUFFIX'
pcre2-10.42/src/pcre2_internal.h:177:20: note: in expansion of macro '_pcre2_script_run'
pcre2-10.42/src/pcre2_match.c:5830:12: note: in expansion of macro 'PRIV'
# 1995|   #define _pcre2_memctl_malloc         PCRE2_SUFFIX(_pcre2_memctl_malloc_)
# 1996|   #define _pcre2_ord2utf               PCRE2_SUFFIX(_pcre2_ord2utf_)
# 1997|-> #define _pcre2_script_run            PCRE2_SUFFIX(_pcre2_script_run_)
# 1998|   #define _pcre2_strcmp                PCRE2_SUFFIX(_pcre2_strcmp_)
# 1999|   #define _pcre2_strcmp_c8             PCRE2_SUFFIX(_pcre2_strcmp_c8_)

Scan Properties

analyzer-version-clang18.1.2
analyzer-version-cppcheck2.13.0
analyzer-version-gcc14.0.1
analyzer-version-gcc-analyzer14.0.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.2
diffbase-analyzer-version-cppcheck2.13.0
diffbase-analyzer-version-gcc14.0.1
diffbase-analyzer-version-gcc-analyzer14.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-194.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namepcre2-10.43-1.fc41
diffbase-store-results-to/tmp/tmpkqk3edeg/pcre2-10.43-1.fc41.tar.xz
diffbase-time-created2024-04-17 06:19:44
diffbase-time-finished2024-04-17 06:23:52
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'shellcheck,clang,cppcheck,gcc' '-o' '/tmp/tmpkqk3edeg/pcre2-10.43-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpkqk3edeg/pcre2-10.43-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-194.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namepcre2-10.42-2.fc40.2
store-results-to/tmp/tmpgaiwzw5q/pcre2-10.42-2.fc40.2.tar.xz
time-created2024-04-17 06:14:31
time-finished2024-04-17 06:19:05
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'shellcheck,clang,cppcheck,gcc' '-o' '/tmp/tmpgaiwzw5q/pcre2-10.42-2.fc40.2.tar.xz' '--gcc-analyze' '/tmp/tmpgaiwzw5q/pcre2-10.42-2.fc40.2.src.rpm'
tool-versioncsmock-3.5.3-1.el9