Error: GCC_ANALYZER_WARNING (CWE-476): [#def1] Scalar-List-Utils-1.69/ListUtil.xs:1376:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg’ Scalar-List-Utils-1.69/ListUtil.c:1630:1: enter_function: entry to ‘XS_List__Util_uniq’ Scalar-List-Utils-1.69/ListUtil.xs:1336:7: branch_false: following ‘false’ branch (when ‘items != 0’)... Scalar-List-Utils-1.69/ListUtil.xs:1336:8: branch_false: ...to here Scalar-List-Utils-1.69/ListUtil.xs:1343:5: call_function: calling ‘Perl_newSV_type’ from ‘XS_List__Util_uniq’ Scalar-List-Utils-1.69/ListUtil.xs:1343:5: return_function: returning to ‘XS_List__Util_uniq’ from ‘Perl_newSV_type’ Scalar-List-Utils-1.69/ListUtil.xs:1345:21: branch_true: following ‘true’ branch (when ‘index < items’)... Scalar-List-Utils-1.69/ListUtil.xs:1346:23: branch_true: ...to here Scalar-List-Utils-1.69/ListUtil.xs:1367:11: branch_true: following ‘true’ branch (when ‘ix == 0’)... Scalar-List-Utils-1.69/ListUtil.xs:1372:16: branch_true: ...to here Scalar-List-Utils-1.69/ListUtil.xs:1372:15: branch_true: following ‘true’ branch... Scalar-List-Utils-1.69/ListUtil.xs:1372:16: branch_false: following ‘false’ branch... Scalar-List-Utils-1.69/ListUtil.xs:1376:17: branch_false: ...to here Scalar-List-Utils-1.69/ListUtil.xs:1376:17: danger: dereference of NULL ‘arg’ # 1374| else # 1375| #endif # 1376|-> if(!SvOK(arg) || SvNOK(arg) || SvPOK(arg)) # 1377| { # 1378| /* Convert undef, NVs and PVs into a well-behaved int */
analyzer-version-clippy | 1.86.0 |
analyzer-version-cppcheck | 2.17.1 |
analyzer-version-gcc | 15.0.1 |
analyzer-version-gcc-analyzer | 15.0.1 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-167.us-west-2.compute.internal |
known-false-positives | /usr/share/csmock/known-false-positives.js |
known-false-positives-rpm | known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch |
mock-config | fedora-rawhide-x86_64 |
project-name | perl-Scalar-List-Utils-1.69-1.fc43 |
store-results-to | /tmp/tmpifai504b/perl-Scalar-List-Utils-1.69-1.fc43.tar.xz |
time-created | 2025-04-25 14:44:15 |
time-finished | 2025-04-25 14:45:34 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpifai504b/perl-Scalar-List-Utils-1.69-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpifai504b/perl-Scalar-List-Utils-1.69-1.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |