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

[perl #133778] SUMMARY: AddressSanitizer: heap-use-after-free

From:
Tony Cook via RT
Date:
February 5, 2019 23:41
Subject:
[perl #133778] SUMMARY: AddressSanitizer: heap-use-after-free
Message ID:
rt-4.0.24-19612-1549410112-384.133778-15-0@perl.org
On Fri, 18 Jan 2019 19:33:50 -0800, hersheys.ryan@gmail.com wrote:
> Triggered fuzzing Perl 5.29.2
> 
> =================================================================
> ==85931==ERROR: AddressSanitizer: heap-use-after-free on address
> 0x61900000a478 at pc 0x000000d3d00b bp 0x7ffeb92c0670 sp 0x7ffeb92c0668
> WRITE of size 8 at 0x61900000a478 thread T0
>     #0 0xd3d00a  (/usr/local/bin/perl5.29.2+0xd3d00a)
>     #1 0xa11b68  (/usr/local/bin/perl5.29.2+0xa11b68)
>     #2 0x669ed5  (/usr/local/bin/perl5.29.2+0x669ed5)
>     #3 0x506dfb  (/usr/local/bin/perl5.29.2+0x506dfb)
>     #4 0x7f42fc1d182f  (/lib/x86_64-linux-gnu/libc.so.6+0x2082f)
>     #5 0x435388  (/usr/local/bin/perl5.29.2+0x435388)

The attached should fix it.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=133778



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