Bug#689314: perl: segfaults when echoing a very long string [CVE-2012-5195]

Alexander V. Kudrevatykh kudrevatykh at gmail.com
Sat Jan 5 16:54:50 UTC 2013


Hi, I have i386 system and perl with amd64 kernel, may be this confused
you?
With amd64 system and perl I cannot reproduce it too.

В Сб., 05/01/2013 в 16:44 +0000, Dominic Hargreaves пишет: 
> On Fri, Jan 04, 2013 at 05:00:24PM +0400, Alexander Kudrevatykh wrote:
> > perl still segfaults with command # perl -e 'print "x"x(2**31)'
> > but not segfaults with original command
> 
> I can reproduce this on i386, but not amd64.
> 
> $ perl -le 'print "v"x(2**31+1) ."=1"'
> panic: memory wrap at -e line 1.
> 
> $ perl -e 'print "x"x(2**31)'
> Segmentation fault
> 
> Strangely, when I try and reproduce with a vanilla 5.14.3 build, I
> get:
> 
> $ ./perl -e 'print "x"x(2**31)'
> $ echo $?
> 0
> 
> which seems wrong in a different way...
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20130105/90ab4ce1/attachment.pgp>


More information about the Perl-maintainers mailing list