develooper Front page | perl.perl5.porters | Postings from October 2006

Re: [perl #40427] Segfault in pack

Thread Previous
From:
Rafael Garcia-Suarez
Date:
October 3, 2006 04:59
Subject:
Re: [perl #40427] Segfault in pack
Message ID:
20061003135911.7a4d9923@grubert.mandriva.com
dgay@acm.org (via RT) wrote:
> The following program will cause a segfault on perl 5.8.5 and 5.9.4:
>   @l = ("aa", "bb");
>   $fun = pack "(A)30 N4", @l;
>   print "$fun\n";
> 
> The following patch (for, and tested on, 5.9.4) fixes this:
> --- pp_pack.c	2006-09-28 17:21:31.000000000 -0700
> +++ pp_pack.c.new 2006-09-28 16:56:14.000000000 -0700

Thanks, I applied your patch as change #28917 to bleadperl.

Thread Previous


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