perl-HTML-Parser-3.85-1.fc45

List of Findings

Error: COMPILER_WARNING (CWE-704): [#def1]
HTML-Parser-3.85/Parser.xs:30: included_from: Included from here.
HTML-Parser-3.85/util.c: scope_hint: In function ‘decode_entities’
HTML-Parser-3.85/util.c:102:33: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  102 |                     char *tmp = strchr(PL_hexdigit, *s);
#      |                                 ^~~~~~
#  100|   		s++;
#  101|   		while (s < end) {
#  102|-> 		    char *tmp = strchr(PL_hexdigit, *s);
#  103|   		    if (!tmp)
#  104|   			break;

Error: COMPILER_WARNING (CWE-704): [#def2]
HTML-Parser-3.85/util.c:102:33: warning[-Wdiscarded-qualifiers]: initialization discards ‘const’ qualifier from pointer target type
#  100|   		s++;
#  101|   		while (s < end) {
#  102|-> 		    char *tmp = strchr(PL_hexdigit, *s);
#  103|   		    if (!tmp)
#  104|   			break;

Scan Properties

analyzer-version-clippy1.95.0
analyzer-version-cppcheck2.20.0
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-14.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260524.213755.g3c6d0be.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-nameperl-HTML-Parser-3.85-1.fc45
store-results-to/tmp/tmpruiqykmi/perl-HTML-Parser-3.85-1.fc45.tar.xz
time-created2026-06-01 15:44:30
time-finished2026-06-01 15:45:39
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'shellcheck,cppcheck,clippy,unicontrol,gcc' '-o' '/tmp/tmpruiqykmi/perl-HTML-Parser-3.85-1.fc45.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpruiqykmi/perl-HTML-Parser-3.85-1.fc45.src.rpm'
tool-versioncsmock-3.8.5.20260529.133039.g6f3b5c6-1.el9