perl-Data-Dumper-2.189-511.fc41

List of Defects

Error: CPPCHECK_WARNING: [#def1]
perl-Data-Dumper-2.189-build/Data-Dumper-2.183/Dumper.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def2]
perl-Data-Dumper-2.189-build/Data-Dumper-2.183/Dumper.xs:579:15: warning[core.NullDereference]: Access to field 'sv_flags' results in a dereference of a null pointer (loaded from variable 'sv_pattern')
#  577|       p = (U8 *)rval;
#  578|       rend = p + rlen;
#  579|->     do_utf8 = DO_UTF8(sv_pattern);
#  580|   
#  581|       while (p < rend) {

Error: CLANG_WARNING: [#def3]
perl-Data-Dumper-2.189-build/Data-Dumper-2.183/Dumper.xs:700:13: warning[deadcode.DeadStores]: Value stored to 'i' is never read
#  698|   	    dSP; ENTER; SAVETMPS; PUSHMARK(sp);
#  699|   	    XPUSHs(val); PUTBACK;
#  700|->             i = perl_call_method(SvPVX_const(style->freezer), G_EVAL|G_VOID|G_DISCARD);
#  701|   	    SPAGAIN;
#  702|   	    if (SvTRUE(ERRSV))

Error: CLANG_WARNING: [#def4]
perl-Data-Dumper-2.189-build/Data-Dumper-2.183/Dumper.xs:1212:3: warning[deadcode.DeadStores]: Value stored to 'apad' is never read
# 1210|   
# 1211|               if (style->indent >= 2) {
# 1212|-> 		apad = blesspad;
# 1213|   	    }
# 1214|   	    sv_catpvs(retval, ", '");

Error: CLANG_WARNING: [#def5]
perl-Data-Dumper-2.189-build/Data-Dumper-2.183/Dumper.xs:1465:27: warning[deadcode.DeadStores]: Value stored to 'val' during its initialization is never read
# 1463|               Style style;
# 1464|   
# 1465|->             SV *name_sv, *val = &PL_sv_undef, *varname = &PL_sv_undef;
# 1466|   	    I32 gimme = GIMME_V;
# 1467|   

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-172.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-nameperl-Data-Dumper-2.189-511.fc41
store-results-to/tmp/tmp49a8jjqb/perl-Data-Dumper-2.189-511.fc41.tar.xz
time-created2024-07-03 16:39:00
time-finished2024-07-03 16:40:04
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp49a8jjqb/perl-Data-Dumper-2.189-511.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp49a8jjqb/perl-Data-Dumper-2.189-511.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9