develooper Front page | perl.perl5.porters | Postings from February 2021

Heap overflow added by a1325b902d57: Paul "LeoNerd" Evans: Initialattempt at feature 'try'

Thread Next
From:
George Greer
Date:
February 5, 2021 20:15
Subject:
Heap overflow added by a1325b902d57: Paul "LeoNerd" Evans: Initialattempt at feature 'try'
Message ID:
f4ed39e5-ba88-acc5-57f7-8dc8a32b51a3@greerga.m-l.org
See logs from my "{blead_clang_quick_sanitize=address}" smoker.

=================================================================
==2837699==ERROR: AddressSanitizer: heap-buffer-overflow on address 
0x61c000000018 at pc 0x000000845af1 bp 0x7ffc68c56230 sp 0x7ffc68c56228
READ of size 1 at 0x61c000000018 thread T0 (lib/unicore/mkt)
     #0 0x845af0 in Perl_pp_return 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/pp_ctl.c:2491:8
     #1 0x76acd9 in Perl_runops_standard 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/run.c:41:26
     #2 0x9aaeb6 in S_sortcv 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/pp_sort.c:1066:5
     #3 0x9673c1 in dynprep 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/pp_sort.c:188:14
     #4 0x9673c1 in S_sortsv_flags_impl 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/pp_sort.c:358:20
     #5 0x9673c1 in Perl_sortsv_flags 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/pp_sort.c:556:5
     #6 0x96c405 in Perl_pp_sort 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/pp_sort.c:909:13
     #7 0x76acd9 in Perl_runops_standard 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/run.c:41:26
     #8 0x58ac3e in S_run_body 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/perl.c:0:0
     #9 0x58a041 in perl_run 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/perl.c:2666:2
     #10 0x9aee8c in main 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/miniperlmain.c:116:9
     #11 0x7f19f311a1e1 in __libc_start_main ??:0:0
     #12 0x437ccd in _start ??:0:0

0x61c000000018 is located 104 bytes to the left of 1872-byte region 
[0x61c000000080,0x61c0000007d0)
allocated by thread T0 (lib/unicore/mkt) here:
     #0 0x4db58f in malloc ??:0:0
     #1 0x70c8c4 in Perl_safesysmalloc 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/util.c:161:21
     #2 0x820b0f in Perl_new_stackinfo 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/scope.c:88:5
     #3 0x550c19 in S_process_special_blocks 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/op.c:11745:13
     #4 0x536de9 in Perl_newATTRSUB_x 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/op.c:11679:21
     #5 0x637161 in Perl_yyparse 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/perly.y:324:12
     #6 0x58751c in S_parse_body 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/perl.c:2558:9
     #7 0x58751c in perl_parse 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/perl.c:1853:2
     #8 0x9aee7c in main 
/home/perl/smoke/perl/blead_clang_quick_sanitize=address/build/miniperlmain.c:115:10
     #9 0x7f19f311a1e1 in __libc_start_main ??:0:0


-- 
George Greer

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About