perl-5.40.2-517.fc43
List of Findings
Error: COMPILER_WARNING (CWE-1164): [#def1]
perl-5.40.2/UU/attrib.c:2:54: warning[-Wunused-function]: ‘I_will_always_be_inlined’ declared ‘static’ but never defined
Error: GCC_ANALYZER_WARNING (CWE-688): [#def2]
perl-5.40.2/UU/dirfd.c:26:13: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘opendir(".")’ where non-null expected
perl-5.40.2/UU/dirfd.c:25:21: acquire_memory: this call could return NULL
perl-5.40.2/UU/dirfd.c:26:13: danger: argument 1 (‘opendir(".")’) from [(1)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/0) could be NULL where non-null expected
Error: COMPILER_WARNING: [#def3]
perl-5.40.2/UU/signal.c: scope_hint: In function ‘main’
perl-5.40.2/UU/signal.c:158:16: warning[-Wformat=]: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def4]
perl-5.40.2/class.c:720:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘o’
perl-5.40.2/class.c:637:1: enter_function: entry to ‘Perl_class_seal_stash’
perl-5.40.2/class.c:644:8: branch_true: following ‘true’ branch...
perl-5.40.2/class.c:646:13: branch_true: ...to here
perl-5.40.2/class.c:658:32: call_function: calling ‘Perl_newSV_type’ from ‘Perl_class_seal_stash’
perl-5.40.2/class.c:658:32: return_function: returning to ‘Perl_class_seal_stash’ from ‘Perl_newSV_type’
perl-5.40.2/class.c:697:28: branch_true: following ‘true’ branch...
perl-5.40.2/class.c:706:15: branch_true: following ‘true’ branch...
perl-5.40.2/class.c:716:21: branch_false: following ‘false’ branch...
perl-5.40.2/class.c:717:17: branch_false: ...to here
perl-5.40.2/class.c:720:17: release_memory: ‘o’ is NULL
perl-5.40.2/class.c:720:17: danger: dereference of NULL ‘o’
Error: CPPCHECK_WARNING (CWE-476): [#def5]
perl-5.40.2/class.c:782: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: GCC_ANALYZER_WARNING (CWE-476): [#def6]
perl-5.40.2/class.c:782:13: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.2/class.c:637:1: enter_function: entry to ‘Perl_class_seal_stash’
perl-5.40.2/class.c:644:8: branch_true: following ‘true’ branch...
perl-5.40.2/class.c:646:13: branch_true: ...to here
perl-5.40.2/class.c:658:32: call_function: calling ‘Perl_newSV_type’ from ‘Perl_class_seal_stash’
perl-5.40.2/class.c:658:32: return_function: returning to ‘Perl_class_seal_stash’ from ‘Perl_newSV_type’
perl-5.40.2/class.c:697:28: branch_true: following ‘true’ branch...
perl-5.40.2/class.c:706:15: branch_false: following ‘false’ branch (when ‘valop’ is NULL)...
perl-5.40.2/class.c:725:29: branch_false: ...to here
perl-5.40.2/class.c:779:36: acquire_memory: this call could return NULL
perl-5.40.2/class.c:782:13: danger: ‘aux’ could be NULL: unchecked value from [(15)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/14)
Error: CPPCHECK_WARNING (CWE-682): [#def7]
perl-5.40.2/class.c:898: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def8]
perl-5.40.2/class.c:898: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ap++
Error: GCC_ANALYZER_WARNING (CWE-476): [#def9]
perl-5.40.2/class.c:898:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.2/class.c:854:1: enter_function: entry to ‘Perl_class_wrap_method_body’
perl-5.40.2/class.c:858:7: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)...
perl-5.40.2/class.c:868:24: branch_false: ...to here
perl-5.40.2/class.c:870:20: call_function: calling ‘Perl_newSV_type’ from ‘Perl_class_wrap_method_body’
perl-5.40.2/class.c:870:20: return_function: returning to ‘Perl_class_wrap_method_body’ from ‘Perl_newSV_type’
perl-5.40.2/class.c:890:7: branch_true: following ‘true’ branch...
perl-5.40.2/class.c:891:32: branch_true: ...to here
perl-5.40.2/class.c:891:32: acquire_memory: this call could return NULL
perl-5.40.2/class.c:898:9: danger: ‘aux’ could be NULL: unchecked value from [(13)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/12)
Error: CPPCHECK_WARNING (CWE-682): [#def10]
perl-5.40.2/class.c:1001: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def11]
perl-5.40.2/class.c:1001: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: ap++
Error: GCC_ANALYZER_WARNING (CWE-476): [#def12]
perl-5.40.2/class.c:1001:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.2/class.c:997:32: acquire_memory: this call could return NULL
perl-5.40.2/class.c:1001:9: danger: ‘aux’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def13]
perl-5.40.2/class.c:1015: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: GCC_ANALYZER_WARNING (CWE-476): [#def14]
perl-5.40.2/class.c:1015:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.2/class.c:1013:13: acquire_memory: this call could return NULL
perl-5.40.2/class.c:1015:9: danger: ‘aux’ could be NULL: unchecked value from [(1)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/0)
Error: CPPCHECK_WARNING (CWE-476): [#def15]
perl-5.40.2/class.c:1016: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def16]
perl-5.40.2/class.c:1017: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-457): [#def17]
perl-5.40.2/cpan/Digest-MD5/MD5.xs:508: warning[uninitvar]: Uninitialized variable: to
Error: CPPCHECK_WARNING (CWE-457): [#def18]
perl-5.40.2/cpan/Digest-SHA/src/sha.c:127: error[uninitvar]: Uninitialized variable: *wp
Error: CPPCHECK_WARNING (CWE-457): [#def19]
perl-5.40.2/cpan/Digest-SHA/src/sha.c:197: error[uninitvar]: Uninitialized variable: *wp
Error: GCC_ANALYZER_WARNING (CWE-476): [#def20]
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:64:50: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:56:19: branch_false: following ‘false’ branch...
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:62:9: branch_false: ...to here
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:62:8: branch_true: following ‘true’ branch...
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:63:9: branch_true: ...to here
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:64:50: danger: dereference of NULL ‘my_sv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def21]
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:70:18: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘my_sv’
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:56:19: branch_false: following ‘false’ branch...
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:62:9: branch_false: ...to here
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:62:8: branch_false: following ‘false’ branch...
branch_false: ...to here
perl-5.40.2/cpan/Filter-Util-Call/Call.xs:70:18: danger: dereference of NULL ‘my_sv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def22]
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1376:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘arg’
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.c:1630:1: enter_function: entry to ‘XS_List__Util_uniq’
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1336:7: branch_false: following ‘false’ branch (when ‘items != 0’)...
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1336:8: branch_false: ...to here
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1343:5: call_function: calling ‘Perl_newSV_type’ from ‘XS_List__Util_uniq’
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1343:5: return_function: returning to ‘XS_List__Util_uniq’ from ‘Perl_newSV_type’
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1345:21: branch_true: following ‘true’ branch (when ‘index < items’)...
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1346:23: branch_true: ...to here
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1367:11: branch_true: following ‘true’ branch (when ‘ix == 0’)...
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1372:16: branch_true: ...to here
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1372:15: branch_true: following ‘true’ branch...
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1372:16: branch_false: following ‘false’ branch...
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1376:17: branch_false: ...to here
perl-5.40.2/cpan/Scalar-List-Utils/ListUtil.xs:1376:17: danger: dereference of NULL ‘arg’
Error: CPPCHECK_WARNING (CWE-562): [#def23]
perl-5.40.2/dist/Time-HiRes/HiRes.xs:1528: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: COMPILER_WARNING (CWE-563): [#def24]
perl-5.40.2/dist/Time-HiRes/tmp22915.c: scope_hint: In function ‘main’
perl-5.40.2/dist/Time-HiRes/tmp22915.c:7:13: warning[-Wunused-variable]: unused variable ‘tictoc’
Error: COMPILER_WARNING (CWE-457): [#def25]
perl-5.40.2/dist/Time-HiRes/tmp22915.c:9:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized
perl-5.40.2/perl.h:1785: included_from: Included from here.
/usr/include/sys/stat.h:452:12: note: by argument 2 of type ‘const struct timespec[2]’ to ‘futimens’ declared here
perl-5.40.2/dist/Time-HiRes/tmp22915.c:8:21: note: ‘ts1’ declared here
Error: COMPILER_WARNING (CWE-252): [#def26]
perl-5.40.2/dist/Time-HiRes/tmp22915.c: scope_hint: In function ‘main’
perl-5.40.2/dist/Time-HiRes/tmp22915.c:11:5: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-457): [#def27]
perl-5.40.2/dist/Time-HiRes/tmp22915.c:12:12: warning[-Wmaybe-uninitialized]: ‘ts1’ may be used uninitialized
perl-5.40.2/perl.h:1785: included_from: Included from here.
/usr/include/sys/stat.h:433:12: note: by argument 3 of type ‘const struct timespec[2]’ to ‘utimensat’ declared here
perl-5.40.2/dist/Time-HiRes/tmp22915.c:9:21: note: ‘ts1’ declared here
Error: GCC_ANALYZER_WARNING (CWE-457): [#def28]
perl-5.40.2/dist/Time-HiRes/tmp22915.c:13:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’
perl-5.40.2/dist/Time-HiRes/tmp22915.c:13:5: branch_true: following ‘true’ branch...
perl-5.40.2/dist/Time-HiRes/tmp22915.c:13:32: branch_true: ...to here
perl-5.40.2/dist/Time-HiRes/tmp22915.c:13:32: danger: use of uninitialized value ‘ts1[0].tv_nsec’ here
Error: COMPILER_WARNING (CWE-252): [#def29]
perl-5.40.2/dist/Time-HiRes/tmp22915.c: scope_hint: In function ‘main’
perl-5.40.2/dist/Time-HiRes/tmp22915.c:14:5: warning[-Wunused-result]: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’
Error: COMPILER_WARNING (CWE-563): [#def30]
perl-5.40.2/dist/Time-HiRes/tmp22915.c:16:17: warning[-Wunused-but-set-variable]: variable ‘st’ set but not used
Error: GCC_ANALYZER_WARNING (CWE-457): [#def31]
perl-5.40.2/dist/Time-HiRes/tmp22915.c:16:32: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value ‘ts1[0].tv_nsec’
perl-5.40.2/dist/Time-HiRes/tmp22915.c:16:5: branch_true: following ‘true’ branch...
perl-5.40.2/dist/Time-HiRes/tmp22915.c:16:32: branch_true: ...to here
perl-5.40.2/dist/Time-HiRes/tmp22915.c:16:32: danger: use of uninitialized value ‘ts1[0].tv_nsec’ here
Error: COMPILER_WARNING: [#def32] [important]
perl-5.40.2/dist/Time-HiRes/tmp22915.c:17:7: error[error]: ‘struct stat’ has no member named ‘st_atimespec’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def33]
perl-5.40.2/dist/threads-shared/shared.xs:424:9: warning[-Wanalyzer-possible-null-argument]: use of possibly-NULL ‘ul’ where non-null expected
perl-5.40.2/dist/threads-shared/shared.c:2051:1: enter_function: entry to ‘XS_threads__shared_cond_broadcast’
perl-5.40.2/dist/threads-shared/shared.c:2054:8: branch_false: following ‘false’ branch (when ‘items == 1’)...
perl-5.40.2/dist/threads-shared/shared.c:2061:25: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1717:12: branch_false: following ‘false’ branch...
perl-5.40.2/dist/threads-shared/shared.xs:1719:9: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1723:12: branch_false: following ‘false’ branch...
perl-5.40.2/dist/threads-shared/shared.xs:1725:14: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1725:14: call_function: calling ‘S_get_userlock’ from ‘XS_threads__shared_cond_broadcast’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def34]
perl-5.40.2/dist/threads-shared/shared.xs:1425:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘ssv’
perl-5.40.2/dist/threads-shared/shared.c:1625:1: enter_function: entry to ‘XS_threads__shared__tie_STORESIZE’
perl-5.40.2/dist/threads-shared/shared.c:1628:8: branch_false: following ‘false’ branch (when ‘items == 2’)...
perl-5.40.2/dist/threads-shared/shared.c:1631:23: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1419:19: branch_false: following ‘false’ branch...
perl-5.40.2/dist/threads-shared/shared.xs:1421:9: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1421:9: call_function: calling ‘recursive_lock_acquire’ from ‘XS_threads__shared__tie_STORESIZE’
perl-5.40.2/dist/threads-shared/shared.xs:1421:9: return_function: returning to ‘XS_threads__shared__tie_STORESIZE’ from ‘recursive_lock_acquire’
perl-5.40.2/dist/threads-shared/shared.xs:1421:9: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads-shared/shared.xs:1421:9: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1423:12: branch_true: following ‘true’ branch...
perl-5.40.2/dist/threads-shared/shared.xs:1424:18: branch_true: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1425:22: danger: dereference of NULL ‘ssv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def35]
perl-5.40.2/dist/threads-shared/shared.xs:1452:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sobj’
perl-5.40.2/dist/threads-shared/shared.c:1672:8: branch_false: following ‘false’ branch (when ‘items == 2’)...
perl-5.40.2/dist/threads-shared/shared.c:1675:23: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1450:20: branch_false: following ‘false’ branch...
perl-5.40.2/dist/threads-shared/shared.xs:1452:13: branch_false: ...to here
perl-5.40.2/dist/threads-shared/shared.xs:1452:13: danger: dereference of NULL ‘sobj’
Error: GCC_ANALYZER_WARNING (CWE-416): [#def36]
perl-5.40.2/dist/threads/threads.xs:1048:17: warning[-Wanalyzer-use-after-free]: use after ‘free’ of ‘thread’
perl-5.40.2/dist/threads/threads.xs:759:1: enter_function: entry to ‘S_ithread_create’
perl-5.40.2/dist/threads/threads.xs:787:9: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads/threads.xs:787:9: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:788:29: acquire_memory: allocated here
perl-5.40.2/dist/threads/threads.xs:790:5: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads/threads.xs:790:5: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:791:8: branch_false: following ‘false’ branch (when ‘thread’ is non-NULL)...
perl-5.40.2/dist/threads/threads.xs:805:5: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:825:5: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads/threads.xs:826:5: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:826:5: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads/threads.xs:826:5: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:903:35: call_function: calling ‘Perl_newSV_type’ from ‘S_ithread_create’
perl-5.40.2/dist/threads/threads.xs:903:35: return_function: returning to ‘S_ithread_create’ from ‘Perl_newSV_type’
perl-5.40.2/dist/threads/threads.xs:959:5: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads/threads.xs:959:5: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:1037:8: branch_true: following ‘true’ branch...
perl-5.40.2/dist/threads/threads.xs:1042:9: branch_true: ...to here
perl-5.40.2/dist/threads/threads.xs:1042:9: branch_false: following ‘false’ branch (when ‘_eC_ == 0’)...
perl-5.40.2/dist/threads/threads.xs:1042:9: branch_false: ...to here
perl-5.40.2/dist/threads/threads.xs:1044:9: call_function: calling ‘S_ithread_free’ from ‘S_ithread_create’
perl-5.40.2/dist/threads/threads.xs:1044:9: return_function: returning to ‘S_ithread_create’ from ‘S_ithread_free’
perl-5.40.2/dist/threads/threads.xs:1046:12: branch_true: following ‘true’ branch...
perl-5.40.2/dist/threads/threads.xs:1047:16: branch_true: ...to here
perl-5.40.2/dist/threads/threads.xs:1047:16: branch_true: following ‘true’ branch (when ‘rc_stack_size != 0’)...
perl-5.40.2/dist/threads/threads.xs:1048:17: branch_true: ...to here
perl-5.40.2/dist/threads/threads.xs:1048:17: danger: use after ‘free’ of ‘thread’; freed at [(46)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/45)
Error: GCC_ANALYZER_WARNING (CWE-835): [#def37]
perl-5.40.2/doio.c:759:28: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/doio.c:3433:1: enter_function: entry to ‘Perl_start_glob’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def38]
perl-5.40.2/doio.c:839:24: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/doio.c:3433:1: enter_function: entry to ‘Perl_start_glob’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def39]
perl-5.40.2/doio.c:1081:23: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(Perl_PerlIO_fileno(my_perl, fp), savefd)’
perl-5.40.2/doio.c:499:1: enter_function: entry to ‘Perl_do_openn’
perl-5.40.2/doio.c:508:12: branch_false: following ‘false’ branch (when ‘num_svs == 0’)...
perl-5.40.2/doio.c:512:16: branch_false: ...to here
perl-5.40.2/doio.c:512:16: call_function: calling ‘Perl_do_open_raw’ from ‘Perl_do_openn’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def40]
perl-5.40.2/doio.c:1366:12: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/doio.c:1986:1: enter_function: entry to ‘Perl_do_eof’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def41]
perl-5.40.2/doio.c:2458:24: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.2/doio.c:2428:1: enter_function: entry to ‘Perl_do_aexec5’
perl-5.40.2/doio.c:2440:9: branch_false: following ‘false’ branch...
perl-5.40.2/doio.c:2440:9: branch_false: ...to here
perl-5.40.2/doio.c:2453:12: branch_true: following ‘true’ branch (when ‘really’ is non-NULL)...
perl-5.40.2/doio.c:2454:20: branch_true: ...to here
perl-5.40.2/doio.c:2454:20: call_function: calling ‘Perl_SvPV_helper’ from ‘Perl_do_aexec5’
perl-5.40.2/doio.c:2454:20: return_function: returning to ‘Perl_do_aexec5’ from ‘Perl_SvPV_helper’
perl-5.40.2/doio.c:2454:20: call_function: calling ‘Perl_savepv’ from ‘Perl_do_aexec5’
perl-5.40.2/doio.c:2454:20: return_function: returning to ‘Perl_do_aexec5’ from ‘Perl_savepv’
perl-5.40.2/doio.c:2458:24: danger: dereference of NULL ‘Perl_savepv(my_perl, Perl_SvPV_helper(my_perl, really, 0, 2, 2, & Perl_sv_2pv_flags, 0, 32))’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def42]
perl-5.40.2/doio.c:2544:12: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/doio.c:2544:12: danger: infinite loop here
perl-5.40.2/doio.c:2544:12: branch_true: if it ever follows ‘true’ branch, it will always do so...
perl-5.40.2/doio.c:2545:9: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-775): [#def43]
perl-5.40.2/doio.c:2565:21: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘dup2(1, 2)’
perl-5.40.2/doio.c:2546:8: branch_false: following ‘false’ branch...
branch_false: ...to here
perl-5.40.2/doio.c:2549:19: branch_true: following ‘true’ branch...
perl-5.40.2/doio.c:2550:12: branch_true: ...to here
perl-5.40.2/doio.c:2557:16: branch_true: following ‘true’ branch...
perl-5.40.2/doio.c:2557:17: branch_true: following ‘true’ branch...
perl-5.40.2/doio.c:2565:20: branch_true: following ‘true’ branch...
perl-5.40.2/doio.c:2565:29: branch_true: ...to here
perl-5.40.2/doio.c:2565:29: acquire_resource: opened here
perl-5.40.2/doio.c:2565:21: danger: ‘dup2(1, 2)’ leaks here; was opened at [(11)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/10)
Error: CPPCHECK_WARNING (CWE-476): [#def44]
perl-5.40.2/ext/B/B.xs:423: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(kid)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def45]
perl-5.40.2/ext/Devel-Peek/Peek.xs:370:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘first’
perl-5.40.2/ext/Devel-Peek/Peek.xs:369:13: branch_false: following ‘false’ branch...
perl-5.40.2/ext/Devel-Peek/Peek.xs:370:14: branch_false: ...to here
perl-5.40.2/ext/Devel-Peek/Peek.xs:370:14: branch_true: following ‘true’ branch...
perl-5.40.2/ext/Devel-Peek/Peek.xs:370:5: branch_true: ...to here
perl-5.40.2/ext/Devel-Peek/Peek.xs:370:5: danger: dereference of NULL ‘first’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def46]
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:323:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:313:1: enter_function: entry to ‘HUF_fix_objects’
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:317:18: call_function: inlined call to ‘Perl_newSV_type_mortal’ from ‘HUF_fix_objects’
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:317:18: call_function: inlined call to ‘Perl_newSV_type_mortal’ from ‘HUF_fix_objects’
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:322:17: branch_true: following ‘true’ branch (when ‘i < len’)...
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:323:23: branch_true: ...to here
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:323:23: call_function: calling ‘Perl_av_fetch_simple’ from ‘HUF_fix_objects’
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:323:23: return_function: returning to ‘HUF_fix_objects’ from ‘Perl_av_fetch_simple’
perl-5.40.2/ext/Hash-Util-FieldHash/FieldHash.xs:323:13: danger: dereference of NULL ‘Perl_av_fetch_simple(my_perl, Perl_newSV_type(my_perl, 11), (long int)i, 0)’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def47]
perl-5.40.2/ext/POSIX/POSIX.c:4008:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘RETVAL’
perl-5.40.2/ext/POSIX/POSIX.c:3972:8: branch_false: following ‘false’ branch (when ‘items == 2’)...
perl-5.40.2/ext/POSIX/POSIX.c:3975:28: branch_false: ...to here
perl-5.40.2/ext/POSIX/POSIX.xs:3052:12: branch_true: following ‘true’ branch...
perl-5.40.2/ext/POSIX/POSIX.xs:3060:22: branch_true: ...to here
perl-5.40.2/ext/POSIX/POSIX.xs:3060:22: acquire_resource: opened here
perl-5.40.2/ext/POSIX/POSIX.c:3999:16: branch_true: following ‘true’ branch (when ‘RETVAL != -1’)...
perl-5.40.2/ext/POSIX/POSIX.c:4000:20: branch_true: ...to here
perl-5.40.2/ext/POSIX/POSIX.c:4000:20: branch_true: following ‘true’ branch (when ‘RETVAL == 0’)...
perl-5.40.2/ext/POSIX/POSIX.c:4001:21: branch_true: ...to here
perl-5.40.2/ext/POSIX/POSIX.c:4008:5: danger: ‘RETVAL’ leaks here; was opened at [(5)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/4)
Error: GCC_ANALYZER_WARNING (CWE-775): [#def48]
perl-5.40.2/ext/POSIX/POSIX.c:4834:5: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘RETVAL’
perl-5.40.2/ext/POSIX/POSIX.c:4802:8: branch_false: following ‘false’ branch (when ‘items == 1’)...
perl-5.40.2/ext/POSIX/POSIX.c:4808:24: branch_false: ...to here
perl-5.40.2/ext/POSIX/POSIX.c:4808:12: branch_false: following ‘false’ branch (when ‘fd >= 0’)...
perl-5.40.2/ext/POSIX/POSIX.xs:3466:22: branch_false: ...to here
perl-5.40.2/ext/POSIX/POSIX.xs:3466:22: branch_false: following ‘false’ branch...
perl-5.40.2/ext/POSIX/POSIX.xs:3467:41: acquire_resource: opened here
perl-5.40.2/ext/POSIX/POSIX.c:4825:16: branch_true: following ‘true’ branch (when ‘RETVAL != -1’)...
perl-5.40.2/ext/POSIX/POSIX.c:4826:20: branch_true: ...to here
perl-5.40.2/ext/POSIX/POSIX.c:4826:20: branch_true: following ‘true’ branch (when ‘RETVAL == 0’)...
perl-5.40.2/ext/POSIX/POSIX.c:4827:21: branch_true: ...to here
perl-5.40.2/ext/POSIX/POSIX.c:4834:5: danger: ‘RETVAL’ leaks here; was opened at [(7)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/6)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def49]
perl-5.40.2/ext/re/re_comp_trie.c:603:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘trie’
perl-5.40.2/ext/re/re_comp_trie.c:549:1: enter_function: entry to ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:556:22: return_function: returning to ‘my_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/ext/re/re_comp_trie.c:586:5: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:602:30: acquire_memory: this call could return NULL
perl-5.40.2/ext/re/re_comp_trie.c:603:5: danger: ‘trie’ could be NULL: unchecked value from [(25)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/24)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def50]
perl-5.40.2/ext/re/re_comp_trie.c:1037:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
perl-5.40.2/ext/re/re_comp_trie.c:549:1: enter_function: entry to ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:556:22: return_function: returning to ‘my_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/ext/re/re_comp_trie.c:586:5: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:613:5: call_function: calling ‘Perl_newSV_type’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:613:5: return_function: returning to ‘my_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/ext/re/re_comp_trie.c:618:5: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:619:10: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:877:5: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:877:5: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:881:55: call_function: calling ‘Perl_SvIV’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:881:55: return_function: returning to ‘my_make_trie’ from ‘Perl_SvIV’
perl-5.40.2/ext/re/re_comp_trie.c:880:8: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:897:9: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:906:29: branch_false: following ‘false’ branch (when ‘cur >= last’)...
perl-5.40.2/ext/re/re_comp_trie.c:993:9: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1006:13: acquire_memory: allocated here
perl-5.40.2/ext/re/re_comp_trie.c:1013:28: branch_true: following ‘true’ branch (when ‘next_alloc > state’)...
perl-5.40.2/ext/re/re_comp_trie.c:1022:21: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1022:20: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1023:25: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1027:36: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1035:39: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1035:24: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1036:25: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1037:25: danger: ‘<unknown>’ leaks here; was allocated at [(58)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/57)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def51]
perl-5.40.2/ext/re/re_comp_trie.c:1059:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*trie.trans + (long unsigned int)tp * 8’
perl-5.40.2/ext/re/re_comp_trie.c:549:1: enter_function: entry to ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:556:22: return_function: returning to ‘my_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/ext/re/re_comp_trie.c:586:5: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:613:5: call_function: calling ‘Perl_newSV_type’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:613:5: return_function: returning to ‘my_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/ext/re/re_comp_trie.c:618:5: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:619:10: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:877:5: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:877:5: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:881:55: call_function: calling ‘Perl_SvIV’ from ‘my_make_trie’
perl-5.40.2/ext/re/re_comp_trie.c:881:55: return_function: returning to ‘my_make_trie’ from ‘Perl_SvIV’
perl-5.40.2/ext/re/re_comp_trie.c:880:8: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:897:9: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:906:29: branch_false: following ‘false’ branch (when ‘cur >= last’)...
perl-5.40.2/ext/re/re_comp_trie.c:993:9: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1006:13: acquire_memory: this call could return NULL
perl-5.40.2/ext/re/re_comp_trie.c:1013:28: branch_true: following ‘true’ branch (when ‘next_alloc > state’)...
perl-5.40.2/ext/re/re_comp_trie.c:1022:21: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1022:20: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1023:25: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1027:36: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1035:39: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1035:24: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1045:28: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1046:24: branch_true: following ‘true’ branch (when ‘minid == maxid’)...
branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1048:33: branch_false: following ‘false’ branch (when ‘tp <= zp’)...
perl-5.40.2/ext/re/re_comp_trie.c:1059:54: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1059:29: danger: ‘*trie.trans + (long unsigned int)tp * 8’ could be NULL: unchecked value from [(58)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/57)
Error: CPPCHECK_WARNING (CWE-476): [#def52]
perl-5.40.2/ext/re/re_comp_trie.c:1662: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: (struct tregnode_TRIE*)(op)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def53]
perl-5.40.2/ext/re/re_comp_trie.c:1662:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
perl-5.40.2/ext/re/re_comp_trie.c:1659:8: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1661:13: branch_true: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1661:13: acquire_memory: this call could return NULL
perl-5.40.2/ext/re/re_comp_trie.c:1662:9: danger: ‘op’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def54]
perl-5.40.2/ext/re/re_comp_trie.c:1667: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: (struct tregnode_TRIEC*)(op)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def55]
perl-5.40.2/ext/re/re_comp_trie.c:1667:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
perl-5.40.2/ext/re/re_comp_trie.c:1659:8: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1666:13: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1666:13: acquire_memory: this call could return NULL
perl-5.40.2/ext/re/re_comp_trie.c:1667:9: danger: ‘op’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def56]
perl-5.40.2/ext/re/re_comp_trie.c:1670: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: stclass
Error: CPPCHECK_WARNING (CWE-476): [#def57]
perl-5.40.2/ext/re/re_comp_trie.c:1672: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: (struct regnode_1*)stclass
Error: CPPCHECK_WARNING (CWE-476): [#def58]
perl-5.40.2/ext/re/re_comp_trie.c:1675: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aho
Error: CPPCHECK_WARNING (CWE-476): [#def59]
perl-5.40.2/ext/re/re_comp_trie.c:1676: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aho
Error: GCC_ANALYZER_WARNING (CWE-476): [#def60]
perl-5.40.2/ext/re/re_comp_trie.c:1684:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)numstates, 4)’
perl-5.40.2/ext/re/re_comp_trie.c:1659:8: branch_false: following ‘false’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1666:13: branch_false: ...to here
perl-5.40.2/ext/re/re_comp_trie.c:1677:5: branch_true: following ‘true’ branch...
perl-5.40.2/ext/re/re_comp_trie.c:1679:25: acquire_memory: this call could return NULL
perl-5.40.2/ext/re/re_comp_trie.c:1684:17: danger: ‘calloc((long unsigned int)numstates, 4)’ could be NULL: unchecked value from [(5)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/4)
Error: CPPCHECK_WARNING (CWE-562): [#def61]
perl-5.40.2/gv.c:4182: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-688): [#def62]
perl-5.40.2/hv.c:3300:40: warning[-Wanalyzer-null-argument]: use of NULL ‘str’ where non-null expected
perl-5.40.2/hv.c:3230:1: enter_function: entry to ‘Perl_unshare_hek’
perl-5.40.2/hv.c:3233:5: call_function: calling ‘S_unshare_hek_or_pvn’ from ‘Perl_unshare_hek’
Error: CPPCHECK_WARNING (CWE-476): [#def63]
perl-5.40.2/hv.c:3913: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: GCC_ANALYZER_WARNING (CWE-476): [#def64]
perl-5.40.2/hv.c:3913:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘he’
perl-5.40.2/hv.c:3841:8: branch_true: following ‘true’ branch (when ‘value’ is NULL)...
perl-5.40.2/hv.c:3863:9: branch_true: ...to here
perl-5.40.2/hv.c:3904:9: acquire_memory: this call could return NULL
perl-5.40.2/hv.c:3913:5: danger: ‘he’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/2)
Error: CPPCHECK_WARNING (CWE-476): [#def65]
perl-5.40.2/hv.c:3925: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: CPPCHECK_WARNING (CWE-476): [#def66]
perl-5.40.2/hv.c:3926: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: he
Error: GCC_ANALYZER_WARNING (CWE-476): [#def67]
perl-5.40.2/inline.h:61:12: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘av’
perl-5.40.2/perl.c:5105:1: enter_function: entry to ‘S_incpush’
perl-5.40.2/perl.c:5138:24: branch_false: following ‘false’ branch (when ‘using_sub_dirs == 0’)...
perl-5.40.2/perl.c:5184:12: branch_false: ...to here
perl-5.40.2/perl.c:5184:12: branch_true: following ‘true’ branch (when ‘unshift != 0’)...
perl-5.40.2/perl.c:5188:28: branch_true: ...to here
perl-5.40.2/perl.c:5188:28: call_function: calling ‘Perl_av_count’ from ‘S_incpush’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def68]
perl-5.40.2/inline.h:1219:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘rx’
perl-5.40.2/pp_hot.c:5205:1: enter_function: entry to ‘Perl_pp_subst’
perl-5.40.2/pp_hot.c:5221:18: branch_false: following ‘false’ branch...
perl-5.40.2/pp_hot.c:5222:20: call_function: inlined call to ‘Perl_ReANY’ from ‘Perl_pp_subst’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def69]
perl-5.40.2/locale.c:3398:29: warning[-Wanalyzer-null-argument]: use of NULL ‘current’ where non-null expected
perl-5.40.2/locale.c:3634:1: enter_function: entry to ‘S_new_ctype’
perl-5.40.2/locale.c:3672:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
perl-5.40.2/locale.c:3681:31: branch_false: ...to here
perl-5.40.2/locale.c:3681:31: call_function: calling ‘S_is_locale_utf8’ from ‘S_new_ctype’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def70]
perl-5.40.2/locale.c:3401:29: warning[-Wanalyzer-null-argument]: use of NULL ‘failed’ where non-null expected
perl-5.40.2/locale.c:3634:1: enter_function: entry to ‘S_new_ctype’
perl-5.40.2/locale.c:3672:9: branch_false: following ‘false’ branch (when the strings are non-equal)...
perl-5.40.2/locale.c:3681:31: branch_false: ...to here
perl-5.40.2/locale.c:3681:31: call_function: calling ‘S_is_locale_utf8’ from ‘S_new_ctype’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def71]
perl-5.40.2/mg.c:2637:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sv’
perl-5.40.2/mg.c:2631:1: enter_function: entry to ‘Perl_defelem_target’
perl-5.40.2/mg.c:2635:8: branch_true: following ‘true’ branch (when ‘mg’ is NULL)...
perl-5.40.2/mg.c:2635:19: branch_true: ...to here
perl-5.40.2/mg.c:2635:19: call_function: calling ‘Perl_mg_find’ from ‘Perl_defelem_target’
perl-5.40.2/mg.c:2635:19: return_function: returning to ‘Perl_defelem_target’ from ‘Perl_mg_find’
perl-5.40.2/mg.c:2637:9: danger: dereference of NULL ‘sv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def72]
perl-5.40.2/mg.c:2638:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘mg’
perl-5.40.2/mg.c:2631:1: enter_function: entry to ‘Perl_defelem_target’
perl-5.40.2/mg.c:2635:8: branch_true: following ‘true’ branch (when ‘mg’ is NULL)...
perl-5.40.2/mg.c:2635:19: branch_true: ...to here
perl-5.40.2/mg.c:2635:19: call_function: calling ‘Perl_mg_find’ from ‘Perl_defelem_target’
perl-5.40.2/mg.c:2635:19: return_function: returning to ‘Perl_defelem_target’ from ‘Perl_mg_find’
perl-5.40.2/mg.c:2637:8: branch_true: following ‘true’ branch...
perl-5.40.2/mg.c:2638:13: branch_true: ...to here
perl-5.40.2/mg.c:2638:13: danger: dereference of NULL ‘mg’
Error: GCC_ANALYZER_WARNING (CWE-835): [#def73]
perl-5.40.2/mg.c:3457:20: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/mg.c:3004:1: enter_function: entry to ‘Perl_magic_set’
perl-5.40.2/mg.c:3457:20: danger: infinite loop here
perl-5.40.2/mg.c:3457:20: branch_true: if it ever follows ‘true’ branch, it will always do so...
perl-5.40.2/mg.c:3458:17: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def74]
perl-5.40.2/mg.c:3998:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.2/mg.c:3985:1: enter_function: entry to ‘Perl_magic_copycallchecker’
perl-5.40.2/mg.c:3996:11: call_function: calling ‘Perl_mg_find’ from ‘Perl_magic_copycallchecker’
perl-5.40.2/mg.c:3996:11: return_function: returning to ‘Perl_magic_copycallchecker’ from ‘Perl_mg_find’
perl-5.40.2/mg.c:3998:9: danger: dereference of NULL ‘Perl_mg_find(nsv, (int)*mg.mg_type)’
Error: CPPCHECK_WARNING (CWE-119): [#def75]
perl-5.40.2/mro_core.c:811: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: (const void*)((*namep)->hek_key)
Error: CPPCHECK_WARNING (CWE-119): [#def76]
perl-5.40.2/mro_core.c:833: error[bufferAccessOutOfBounds]: Buffer is accessed out of bounds: (const void*)((*namep)->hek_key)
Error: CPPCHECK_WARNING (CWE-476): [#def77]
perl-5.40.2/op.c:2917: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(0+(((struct UNOP*)(kid))->op_first)->op_moresib?(((struct UNOP*)(kid))->op_first)->op_sibparent:NULL)
Error: CPPCHECK_WARNING (CWE-476): [#def78]
perl-5.40.2/op.c:4959: warning[nullPointer]: Possible null pointer dereference: (struct SVOP*)(0+(((struct LISTOP*)(o))->op_first)->op_moresib?(((struct LISTOP*)(o))->op_first)->op_sibparent:NULL)
Error: CPPCHECK_WARNING (CWE-562): [#def79]
perl-5.40.2/op.c:5015: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def80]
perl-5.40.2/op.c:5135: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def81]
perl-5.40.2/op.c:5141: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-476): [#def82]
perl-5.40.2/op.c:7132: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tbl
Error: CPPCHECK_WARNING (CWE-476): [#def83]
perl-5.40.2/op.c:7143: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: tbl
Error: CPPCHECK_WARNING (CWE-476): [#def84]
perl-5.40.2/op.c:8332: warning[nullPointer]: Possible null pointer dereference: sib
Error: CPPCHECK_WARNING (CWE-476): [#def85]
perl-5.40.2/op.c:12522: warning[nullPointer]: Possible null pointer dereference: catchroot
Error: CPPCHECK_WARNING (CWE-476): [#def86]
perl-5.40.2/op.c:12548: warning[nullPointer]: Possible null pointer dereference: kid
Error: CPPCHECK_WARNING (CWE-476): [#def87]
perl-5.40.2/op.c:13094: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(0+(((struct LISTOP*)(o))->op_first)->op_moresib?(((struct LISTOP*)(o))->op_first)->op_sibparent:NULL)
Error: CPPCHECK_WARNING (CWE-476): [#def88]
perl-5.40.2/op.c:13108: warning[nullPointer]: Possible null pointer dereference: kid
Error: CPPCHECK_WARNING (CWE-476): [#def89]
perl-5.40.2/op.c:13118: warning[nullPointer]: Possible null pointer dereference: kid
Error: CPPCHECK_WARNING (CWE-476): [#def90]
perl-5.40.2/op.c:13534: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(kidparent)
Error: CPPCHECK_WARNING (CWE-476): [#def91]
perl-5.40.2/op.c:13710: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(0+(((struct LISTOP*)(o))->op_first)->op_moresib?(((struct LISTOP*)(o))->op_first)->op_sibparent:NULL)
Error: CPPCHECK_WARNING (CWE-476): [#def92]
perl-5.40.2/op.c:13865: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(kid)
Error: CPPCHECK_WARNING (CWE-476): [#def93]
perl-5.40.2/op.c:14041: warning[nullPointer]: Possible null pointer dereference: kid
Error: CPPCHECK_WARNING (CWE-476): [#def94]
perl-5.40.2/op.c:15255: warning[nullPointer]: Possible null pointer dereference: (struct UNOP*)(0+(((struct UNOP*)(o))->op_first)->op_moresib?(((struct UNOP*)(o))->op_first)->op_sibparent:NULL)
Error: CPPCHECK_WARNING (CWE-401): [#def95]
perl-5.40.2/op.c:15916: error[memleak]: Memory leak: rcpv
Error: GCC_ANALYZER_WARNING (CWE-476): [#def96]
perl-5.40.2/pad.c:2329:21: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.2/pad.c:2310:1: enter_function: entry to ‘Perl_cv_name’
perl-5.40.2/pad.c:2313:9: branch_false: following ‘false’ branch...
perl-5.40.2/pad.c:2318:20: branch_false: ...to here
perl-5.40.2/pad.c:2319:12: branch_true: following ‘true’ branch...
perl-5.40.2/pad.c:2320:17: branch_true: ...to here
perl-5.40.2/pad.c:2320:16: branch_true: following ‘true’ branch...
perl-5.40.2/pad.c:2321:21: branch_true: ...to here
perl-5.40.2/pad.c:2321:20: branch_false: following ‘false’ branch...
perl-5.40.2/pad.c:2329:21: call_function: inlined call to ‘CvNAME_HEK’ from ‘Perl_cv_name’
perl-5.40.2/pad.c:2329:21: branch_false: ...to here
perl-5.40.2/pad.c:2329:21: danger: dereference of NULL ‘<unknown>’
Error: CPPCHECK_WARNING (CWE-682): [#def97]
perl-5.40.2/peep.c:731: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-682): [#def98]
perl-5.40.2/peep.c:766: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-476): [#def99]
perl-5.40.2/peep.c:860: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def100]
perl-5.40.2/peep.c:861: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def101]
perl-5.40.2/peep.c:862: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def102]
perl-5.40.2/peep.c:863: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def103]
perl-5.40.2/peep.c:864: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def104]
perl-5.40.2/peep.c:1327: warning[nullPointer]: Possible null pointer dereference: kid
Error: CPPCHECK_WARNING (CWE-476): [#def105]
perl-5.40.2/peep.c:2546: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: arg_buf
Error: CPPCHECK_WARNING (CWE-682): [#def106]
perl-5.40.2/peep.c:2547: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def107]
perl-5.40.2/peep.c:3649:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nullop’
perl-5.40.2/peep.c:2714:8: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:2723:12: branch_true: following ‘true’ branch (when ‘o’ is non-NULL)...
perl-5.40.2/peep.c:2723:15: branch_true: ...to here
perl-5.40.2/peep.c:2723:13: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:2725:12: branch_false: ...to here
perl-5.40.2/peep.c:2725:12: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)...
branch_false: ...to here
perl-5.40.2/peep.c:3646:16: branch_true: following ‘true’ branch...
perl-5.40.2/peep.c:3648:37: branch_true: ...to here
perl-5.40.2/peep.c:3648:37: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:3649:22: branch_false: ...to here
perl-5.40.2/peep.c:3649:22: danger: dereference of NULL ‘nullop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def108]
perl-5.40.2/peep.c:3903:30: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’
perl-5.40.2/peep.c:2714:8: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:2723:12: branch_true: following ‘true’ branch (when ‘o’ is non-NULL)...
perl-5.40.2/peep.c:2723:15: branch_true: ...to here
perl-5.40.2/peep.c:2723:13: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:2725:12: branch_false: ...to here
perl-5.40.2/peep.c:2725:12: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)...
branch_false: ...to here
perl-5.40.2/peep.c:3883:20: branch_true: following ‘true’ branch (when ‘right’ is non-NULL)...
perl-5.40.2/peep.c:3901:32: branch_true: ...to here
perl-5.40.2/peep.c:3901:32: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:3902:25: branch_false: ...to here
perl-5.40.2/peep.c:3902:24: branch_true: following ‘true’ branch...
perl-5.40.2/peep.c:3903:30: branch_true: ...to here
perl-5.40.2/peep.c:3903:30: danger: dereference of NULL ‘left’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def109]
perl-5.40.2/peep.c:4010:17: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘oldoldop’
perl-5.40.2/peep.c:2714:8: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:2723:12: branch_true: following ‘true’ branch (when ‘o’ is non-NULL)...
perl-5.40.2/peep.c:2723:15: branch_true: ...to here
perl-5.40.2/peep.c:2723:13: branch_false: following ‘false’ branch...
perl-5.40.2/peep.c:2725:12: branch_false: ...to here
perl-5.40.2/peep.c:2725:12: branch_false: following ‘false’ branch (when ‘o’ is non-NULL)...
branch_false: ...to here
perl-5.40.2/peep.c:3980:16: branch_true: following ‘true’ branch...
perl-5.40.2/peep.c:3981:20: branch_true: ...to here
perl-5.40.2/peep.c:3980:17: branch_true: following ‘true’ branch...
perl-5.40.2/peep.c:3980:17: branch_true: following ‘true’ branch...
perl-5.40.2/peep.c:3992:17: branch_true: ...to here
perl-5.40.2/peep.c:4010:17: danger: dereference of NULL ‘oldoldop’
Error: CPPCHECK_WARNING (CWE-682): [#def110]
perl-5.40.2/perl.c:1678: error[nullPointerArithmeticOutOfMemory]: If memory allocation fail: pointer addition with NULL pointer.
Error: CPPCHECK_WARNING (CWE-562): [#def111]
perl-5.40.2/perl.c:1909: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def112]
perl-5.40.2/perl.c:2773: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def113]
perl-5.40.2/perl.c:3162: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def114]
perl-5.40.2/perl.c:3186: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def115]
perl-5.40.2/perl.c:3211: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-562): [#def116]
perl-5.40.2/perl.c:3350: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: GCC_ANALYZER_WARNING (CWE-835): [#def117]
perl-5.40.2/perl.c:3746:19: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/perl.c:3746:19: danger: infinite loop here
perl-5.40.2/perl.c:3746:19: branch_true: if it ever follows ‘true’ branch, it will always do so...
perl-5.40.2/perl.c:3746:46: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def118]
perl-5.40.2/perl.c:3774:19: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/perl.c:3774:19: danger: infinite loop here
perl-5.40.2/perl.c:3774:19: branch_true: if it ever follows ‘true’ branch, it will always do so...
perl-5.40.2/perl.c:3774:35: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-835): [#def119]
perl-5.40.2/perl.c:3813:24: warning[-Wanalyzer-infinite-loop]: infinite loop
perl-5.40.2/perl.c:3813:24: danger: infinite loop here
perl-5.40.2/perl.c:3813:24: branch_true: if it ever follows ‘true’ branch, it will always do so...
perl-5.40.2/perl.c:3814:21: branch_true: ...to here
Error: GCC_ANALYZER_WARNING (CWE-476): [#def120]
perl-5.40.2/perl.c:5036:29: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘0’
perl-5.40.2/perl.c:4970:1: enter_function: entry to ‘S_mayberelocate’
perl-5.40.2/perl.c:5003:12: branch_true: following ‘true’ branch (when ‘canrelocate != 0’)...
perl-5.40.2/perl.c:5021:25: branch_true: ...to here
perl-5.40.2/perl.c:5023:16: branch_true: following ‘true’ branch...
perl-5.40.2/perl.c:5025:38: call_function: calling ‘Perl_get_sv’ from ‘S_mayberelocate’
perl-5.40.2/perl.c:5025:38: return_function: returning to ‘S_mayberelocate’ from ‘Perl_get_sv’
perl-5.40.2/perl.c:5036:29: danger: dereference of NULL ‘Perl_get_sv(my_perl, "\030", 0)’
Error: CPPCHECK_WARNING (CWE-562): [#def121]
perl-5.40.2/perl.c:5292: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
Error: CPPCHECK_WARNING (CWE-457): [#def122]
perl-5.40.2/perlio.c:2380: warning[uninitvar]: Uninitialized variable: buf
Error: CPPCHECK_WARNING (CWE-404): [#def123]
perl-5.40.2/perlio.c:3455: error[resourceLeak]: Resource leak: stdio
Error: CPPCHECK_WARNING (CWE-664): [#def124]
perl-5.40.2/perlio.c:5409: error[va_list_usedBeforeStarted]: va_list 'apc' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def125]
perl-5.40.2/perlio.c:5410: error[va_list_usedBeforeStarted]: va_list 'apc' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def126]
perl-5.40.2/perlio.c:5411: error[va_list_usedBeforeStarted]: va_list 'apc' used before va_start() was called.
Error: GCC_ANALYZER_WARNING (CWE-476): [#def127]
perl-5.40.2/perly.y:993:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aux’
perl-5.40.2/perly.c:300:15: branch_false: following ‘false’ branch...
perl-5.40.2/perly.c:302:5: branch_false: ...to here
perl-5.40.2/perly.c:327:16: branch_false: following ‘false’ branch...
perl-5.40.2/perly.c:347:19: branch_false: ...to here
perl-5.40.2/perly.c:389:20: branch_false: following ‘false’ branch (when ‘yyn != 0’)...
perl-5.40.2/perly.c:431:25: branch_false: ...to here
perl-5.40.2/perly.y:991:37: acquire_memory: this call could return NULL
perl-5.40.2/perly.y:993:29: danger: ‘aux’ could be NULL: unchecked value from [(9)](sarif:/runs/0/results/0/codeFlows/0/threadFlows/0/locations/8)
Error: CPPCHECK_WARNING (CWE-476): [#def128]
perl-5.40.2/perly.y:1279: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def129]
perl-5.40.2/perly.y:1280: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: CPPCHECK_WARNING (CWE-476): [#def130]
perl-5.40.2/perly.y:1281: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: aux
Error: COMPILER_WARNING: [#def131]
perl-5.40.2/pp_ctl.c:92:44: warning: missing terminating ' character
Error: GCC_ANALYZER_WARNING (CWE-476): [#def132]
perl-5.40.2/pp_ctl.c:6732:33: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘datasv’
perl-5.40.2/pp_ctl.c:6731:25: branch_false: following ‘false’ branch...
perl-5.40.2/pp_ctl.c:6732:33: branch_false: ...to here
perl-5.40.2/pp_ctl.c:6732:33: danger: dereference of NULL ‘datasv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def133]
perl-5.40.2/pp_hot.c:1268:22: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘left’
perl-5.40.2/pp_hot.c:1259:21: branch_true: following ‘true’ branch (when ‘i <= n’)...
perl-5.40.2/pp_hot.c:1266:16: branch_true: ...to here
perl-5.40.2/pp_hot.c:1266:16: branch_true: following ‘true’ branch (when ‘i == n’)...
perl-5.40.2/pp_hot.c:1267:21: branch_true: ...to here
perl-5.40.2/pp_hot.c:1266:21: branch_true: following ‘true’ branch...
perl-5.40.2/pp_hot.c:1268:22: branch_true: ...to here
perl-5.40.2/pp_hot.c:1268:22: danger: dereference of NULL ‘left’
Error: CPPCHECK_WARNING (CWE-457): [#def134]
perl-5.40.2/pp_pack.c:1587: warning[uninitvar]: Uninitialized variable: aptr
Error: CPPCHECK_WARNING (CWE-457): [#def135]
perl-5.40.2/pp_pack.c:1642: warning[uninitvar]: Uninitialized variable: aptr
Error: CPPCHECK_WARNING (CWE-457): [#def136]
perl-5.40.2/pp_pack.c:3117: error[uninitvar]: Uninitialized variable: buffer
Error: GCC_ANALYZER_WARNING (CWE-127): [#def137]
perl-5.40.2/pp_sort.c:469:22: warning[-Wanalyzer-out-of-bounds]: stack-based buffer under-read
perl-5.40.2/pp_sort.c:652:1: enter_function: entry to ‘sortsv_cmp_locale’
perl-5.40.2/pp_sort.c:654:5: call_function: inlined call to ‘S_sortsv_flags_impl’ from ‘sortsv_cmp_locale’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def138]
perl-5.40.2/pp_sort.c:741:26: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘nullop’
perl-5.40.2/pp_sort.c:711:8: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sort.c:717:5: branch_false: ...to here
perl-5.40.2/pp_sort.c:737:8: branch_true: following ‘true’ branch...
perl-5.40.2/pp_sort.c:738:13: branch_true: ...to here
perl-5.40.2/pp_sort.c:738:12: branch_true: following ‘true’ branch...
perl-5.40.2/pp_sort.c:739:26: branch_true: ...to here
perl-5.40.2/pp_sort.c:739:26: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sort.c:741:26: branch_false: ...to here
perl-5.40.2/pp_sort.c:741:26: danger: dereference of NULL ‘nullop’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def139]
perl-5.40.2/pp_sort.c:775:27: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘cv’
perl-5.40.2/pp_sort.c:711:8: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sort.c:717:5: branch_false: ...to here
perl-5.40.2/pp_sort.c:737:8: branch_true: following ‘true’ branch...
perl-5.40.2/pp_sort.c:738:13: branch_true: ...to here
perl-5.40.2/pp_sort.c:738:12: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sort.c:747:17: branch_false: ...to here
perl-5.40.2/pp_sort.c:778:24: branch_true: following ‘true’ branch (when ‘autogv’ is NULL)...
perl-5.40.2/pp_sort.c:779:34: branch_true: ...to here
perl-5.40.2/pp_sort.c:778:25: branch_true: following ‘true’ branch...
perl-5.40.2/pp_sort.c:784:30: branch_true: ...to here
perl-5.40.2/pp_sort.c:784:30: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sort.c:785:25: branch_false: ...to here
perl-5.40.2/pp_sort.c:762:16: branch_false: following ‘false’ branch (when ‘cv’ is NULL)...
perl-5.40.2/pp_sort.c:772:21: branch_false: ...to here
perl-5.40.2/pp_sort.c:772:20: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sort.c:775:27: branch_false: ...to here
perl-5.40.2/pp_sort.c:775:27: danger: dereference of NULL ‘cv’
Error: GCC_ANALYZER_WARNING (CWE-775): [#def140]
perl-5.40.2/pp_sys.c:2829:8: warning[-Wanalyzer-fd-leak]: leak of file descriptor ‘Perl_PerlIO_fileno(my_perl, *io.sv_u.svu_fp)’
perl-5.40.2/pp_sys.c:2826:8: branch_false: following ‘false’ branch...
perl-5.40.2/pp_sys.c:2829:9: branch_false: ...to here
perl-5.40.2/pp_sys.c:2829:8: danger: ‘Perl_PerlIO_fileno(my_perl, *io.sv_u.svu_fp)’ leaks here
Error: COMPILER_WARNING (CWE-1164): [#def141]
perl-5.40.2/perl.h:6186: included_from: Included from here.
perl-5.40.2/_cflags.c:2: included_from: Included from here.
perl-5.40.2/proto.h:626:1: warning[-Wunused-function]: ‘Perl_croak_memory_wrap’ declared ‘static’ but never defined
Error: GCC_ANALYZER_WARNING (CWE-688): [#def142]
perl-5.40.2/regcomp_invlist.c:1531:15: warning[-Wanalyzer-null-argument]: use of NULL ‘array_a’ where non-null expected
perl-5.40.2/regcomp_invlist.c:1473:1: enter_function: entry to ‘Perl__invlistEQ’
perl-5.40.2/regcomp_invlist.c:1479:22: call_function: inlined call to ‘S__invlist_len’ from ‘Perl__invlistEQ’
perl-5.40.2/regcomp_invlist.c:1480:16: call_function: inlined call to ‘S__invlist_len’ from ‘Perl__invlistEQ’
perl-5.40.2/regcomp_invlist.c:1490:8: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_invlist.c:1491:12: branch_true: ...to here
perl-5.40.2/regcomp_invlist.c:1491:12: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_invlist.c:1500:19: call_function: inlined call to ‘S_invlist_array’ from ‘Perl__invlistEQ’
perl-5.40.2/regcomp_invlist.c:1509:12: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_invlist.c:1512:13: branch_false: ...to here
perl-5.40.2/regcomp_invlist.c:1530:15: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_invlist.c:1531:15: branch_true: ...to here
perl-5.40.2/regcomp_invlist.c:1531:15: danger: argument 1 (‘array_a’) NULL where non-null expected
Error: GCC_ANALYZER_WARNING (CWE-476): [#def143]
perl-5.40.2/regcomp_trie.c:603:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘trie’
perl-5.40.2/regcomp_trie.c:549:1: enter_function: entry to ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: return_function: returning to ‘Perl_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/regcomp_trie.c:602:30: acquire_memory: this call could return NULL
perl-5.40.2/regcomp_trie.c:603:5: danger: ‘trie’ could be NULL: unchecked value from [(11)](sarif:/runs/0/results/1/codeFlows/0/threadFlows/0/locations/10)
Error: GCC_ANALYZER_WARNING (CWE-401): [#def144]
perl-5.40.2/regcomp_trie.c:1037:25: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
perl-5.40.2/regcomp_trie.c:549:1: enter_function: entry to ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: return_function: returning to ‘Perl_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/regcomp_trie.c:662:25: branch_false: following ‘false’ branch (when ‘cur >= last’)...
perl-5.40.2/regcomp_trie.c:839:26: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:877:5: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:877:5: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:880:8: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:901:13: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:906:29: branch_false: following ‘false’ branch (when ‘cur >= last’)...
perl-5.40.2/regcomp_trie.c:993:9: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1006:13: acquire_memory: allocated here
perl-5.40.2/regcomp_trie.c:1013:28: branch_true: following ‘true’ branch (when ‘next_alloc > state’)...
perl-5.40.2/regcomp_trie.c:1022:21: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1022:20: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:1023:25: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1027:36: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:1035:39: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1035:24: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:1036:25: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1037:25: danger: ‘<unknown>’ leaks here; was allocated at [(18)](sarif:/runs/0/results/2/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def145]
perl-5.40.2/regcomp_trie.c:1059:29: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘*trie.trans + (long unsigned int)tp * 8’
perl-5.40.2/regcomp_trie.c:549:1: enter_function: entry to ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: return_function: returning to ‘Perl_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/regcomp_trie.c:662:25: branch_false: following ‘false’ branch (when ‘cur >= last’)...
perl-5.40.2/regcomp_trie.c:839:26: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:877:5: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:877:5: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:880:8: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:901:13: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:906:29: branch_false: following ‘false’ branch (when ‘cur >= last’)...
perl-5.40.2/regcomp_trie.c:993:9: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1006:13: acquire_memory: this call could return NULL
perl-5.40.2/regcomp_trie.c:1013:28: branch_true: following ‘true’ branch (when ‘next_alloc > state’)...
perl-5.40.2/regcomp_trie.c:1022:21: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1022:20: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:1023:25: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1027:36: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:1035:39: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1035:24: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:1045:28: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1046:24: branch_true: following ‘true’ branch (when ‘minid == maxid’)...
branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1048:33: branch_false: following ‘false’ branch (when ‘tp <= zp’)...
perl-5.40.2/regcomp_trie.c:1059:54: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1059:29: danger: ‘*trie.trans + (long unsigned int)tp * 8’ could be NULL: unchecked value from [(18)](sarif:/runs/0/results/3/codeFlows/0/threadFlows/0/locations/17)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def146]
perl-5.40.2/regcomp_trie.c:1662:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
perl-5.40.2/regcomp_trie.c:1659:8: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:1661:13: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:1661:13: acquire_memory: this call could return NULL
perl-5.40.2/regcomp_trie.c:1662:9: danger: ‘op’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/4/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def147]
perl-5.40.2/regcomp_trie.c:1667:9: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘op’
perl-5.40.2/regcomp_trie.c:1659:8: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:1666:13: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1666:13: acquire_memory: this call could return NULL
perl-5.40.2/regcomp_trie.c:1667:9: danger: ‘op’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/5/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def148]
perl-5.40.2/regcomp_trie.c:1675:5: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘aho’
perl-5.40.2/regcomp_trie.c:1659:8: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:1666:13: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1673:27: acquire_memory: this call could return NULL
perl-5.40.2/regcomp_trie.c:1675:5: danger: ‘aho’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/6/codeFlows/0/threadFlows/0/locations/2)
Error: GCC_ANALYZER_WARNING (CWE-476): [#def149]
perl-5.40.2/regcomp_trie.c:1684:17: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘calloc((long unsigned int)numstates, 4)’
perl-5.40.2/regcomp_trie.c:1659:8: branch_false: following ‘false’ branch...
perl-5.40.2/regcomp_trie.c:1666:13: branch_false: ...to here
perl-5.40.2/regcomp_trie.c:1679:25: acquire_memory: this call could return NULL
perl-5.40.2/regcomp_trie.c:1684:17: danger: ‘calloc((long unsigned int)numstates, 4)’ could be NULL: unchecked value from [(3)](sarif:/runs/0/results/7/codeFlows/0/threadFlows/0/locations/2)
Error: COMPILER_WARNING: [#def150]
perl-5.40.2/regexec.c:210:253: warning: missing terminating " character
Error: GCC_ANALYZER_WARNING (CWE-476): [#def151]
perl-5.40.2/reginline.h:42:16: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘p’
perl-5.40.2/regcomp_trie.c:549:1: enter_function: entry to ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: call_function: calling ‘Perl_newSV_type’ from ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:556:22: return_function: returning to ‘Perl_make_trie’ from ‘Perl_newSV_type’
perl-5.40.2/regcomp_trie.c:619:8: branch_true: following ‘true’ branch...
perl-5.40.2/regcomp_trie.c:620:9: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:662:25: branch_true: following ‘true’ branch (when ‘cur < last’)...
perl-5.40.2/regcomp_trie.c:663:26: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:663:26: call_function: calling ‘Perl_regnode_after’ from ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:663:26: return_function: returning to ‘Perl_make_trie’ from ‘Perl_regnode_after’
perl-5.40.2/regcomp_trie.c:662:44: call_function: calling ‘Perl_regnext’ from ‘Perl_make_trie’
perl-5.40.2/regcomp_trie.c:662:44: return_function: returning to ‘Perl_make_trie’ from ‘Perl_regnext’
perl-5.40.2/regcomp_trie.c:662:25: branch_true: following ‘true’ branch (when ‘cur < last’)...
perl-5.40.2/regcomp_trie.c:663:26: branch_true: ...to here
perl-5.40.2/regcomp_trie.c:663:26: call_function: calling ‘Perl_regnode_after’ from ‘Perl_make_trie’
Error: CPPCHECK_WARNING (CWE-476): [#def152]
perl-5.40.2/sv.c:15659: warning[nullPointerOutOfMemory]: If memory allocation fails, then there is a possible null pointer dereference: my_perl
Error: GCC_ANALYZER_WARNING (CWE-476): [#def153]
perl-5.40.2/sv_inline.h:614:9: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sv’
perl-5.40.2/pp_hot.c:4459:1: enter_function: entry to ‘Perl_pp_multideref’
perl-5.40.2/pp_hot.c:4513:18: call_function: calling ‘Perl_vivify_ref’ from ‘Perl_pp_multideref’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def154]
perl-5.40.2/sv_inline.h:936:44: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘sv’
perl-5.40.2/pp_sys.c:3703:1: enter_function: entry to ‘Perl_pp_fttext’
perl-5.40.2/pp_sys.c:3728:8: branch_false: following ‘false’ branch (when ‘gv’ is NULL)...
perl-5.40.2/pp_sys.c:3791:16: branch_false: ...to here
perl-5.40.2/pp_sys.c:3791:16: call_function: calling ‘Perl_SvPV_helper’ from ‘Perl_pp_fttext’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def155]
perl-5.40.2/universal.c:76:13: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘canon_name’
perl-5.40.2/universal.c:61:8: branch_false: following ‘false’ branch...
perl-5.40.2/universal.c:70:17: branch_false: ...to here
perl-5.40.2/universal.c:72:8: branch_true: following ‘true’ branch...
perl-5.40.2/universal.c:73:27: branch_true: ...to here
perl-5.40.2/universal.c:74:39: branch_false: following ‘false’ branch...
perl-5.40.2/universal.c:76:13: branch_false: ...to here
perl-5.40.2/universal.c:76:13: danger: dereference of NULL ‘canon_name’
Error: GCC_ANALYZER_WARNING (CWE-688): [#def156]
perl-5.40.2/universal.c:105:17: warning[-Wanalyzer-null-argument]: use of NULL ‘name’ where non-null expected
perl-5.40.2/universal.c:146:1: enter_function: entry to ‘Perl_sv_derived_from_sv’
perl-5.40.2/universal.c:149:12: call_function: calling ‘S_sv_derived_from_svpvn’ from ‘Perl_sv_derived_from_sv’
Error: GCC_ANALYZER_WARNING (CWE-476): [#def157]
perl-5.40.2/util.c:1391:5: warning[-Wanalyzer-null-dereference]: dereference of NULL ‘Perl_safesysmalloc(24)’
perl-5.40.2/util.c:1377:1: enter_function: entry to ‘S_mess_alloc’
perl-5.40.2/util.c:1389:5: call_function: calling ‘Perl_safesysmalloc’ from ‘S_mess_alloc’
perl-5.40.2/util.c:1389:5: return_function: returning to ‘S_mess_alloc’ from ‘Perl_safesysmalloc’
perl-5.40.2/util.c:1390:5: call_function: calling ‘Perl_safesyscalloc’ from ‘S_mess_alloc’
perl-5.40.2/util.c:1390:5: return_function: returning to ‘S_mess_alloc’ from ‘Perl_safesyscalloc’
perl-5.40.2/util.c:1391:5: danger: dereference of NULL ‘Perl_safesysmalloc(24)’
Error: CPPCHECK_WARNING (CWE-664): [#def158]
perl-5.40.2/util.c:5369: error[va_list_usedBeforeStarted]: va_list 'apc' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def159]
perl-5.40.2/util.c:5372: error[va_list_usedBeforeStarted]: va_list 'apc' used before va_start() was called.
Error: CPPCHECK_WARNING (CWE-664): [#def160]
perl-5.40.2/util.c:5382: error[va_list_usedBeforeStarted]: va_list 'apc' used before va_start() was called.
Scan Properties
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-211.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-5.40.2-517.fc43 |
store-results-to | /tmp/tmpuxwm2yap/perl-5.40.2-517.fc43.tar.xz |
time-created | 2025-04-25 15:02:58 |
time-finished | 2025-04-25 15:11:50 |
tool | csmock |
tool-args | '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpuxwm2yap/perl-5.40.2-517.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpuxwm2yap/perl-5.40.2-517.fc43.src.rpm' |
tool-version | csmock-3.8.1.20250422.172604.g26bc3d6-1.el9 |