nayakgi / perl-compiler

Automatically exported from code.google.com/p/perl-compiler
Other
0 stars 0 forks source link

strip binary chunk from comppad names < 5.8.8 #363

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
repro: t/testcc.sh -Dspaw,-UB 91
with some pads in Carp::trust and Socket::_fake_getaddrinfo

if the length of the name > 10 and < 5.8.8 and the name contains binary chunk, 
strip it.

See branch `strip-comppadname-i363`

Original issue reported on code.google.com by reini.urban on 21 Jul 2014 at 4:38

GoogleCodeExporter commented 9 years ago
Fixed with commit b9247a33636ba9fcf0a7f8a82fbf0df1c0acc465
Author: Reini Urban <rurban@cpanel.net>
Date:   Mon Jul 21 11:39:44 2014 -0500

    C 1.49_05/CC 1.16: strip binary BM chunk from bad comppad names

    Workaround an upstream B bug < 5.8.8.
    repro with some pads in Carp::trust and Socket::_fake_getaddrinfo
    t/testcc.sh 91

    if the length of the name > 100 and < 5.8.8 and the name contains \0
    (forbidden < 5.16), strip it.

Original comment by reini.urban on 21 Jul 2014 at 6:35