develooper Front page | perl.perl5.porters | Postings from May 2010

Re: [PATCH] Naif calls segfault T_PRTOBJ of the stock typemap

Thread Previous
From:
Salvador Ortiz Garcia
Date:
May 28, 2010 15:06
Subject:
Re: [PATCH] Naif calls segfault T_PRTOBJ of the stock typemap
Message ID:
4C003E76.1030808@msg.com.mx
On 05/28/2010 03:28 AM, Rafael Garcia-Suarez wrote:
> On 27 May 2010 18:23, Salvador Ortiz Garcia<sog@msg.com.mx>  wrote:
>    
>> Hi,
>>
>> $ perl -MPOSIX -e 'POSIX::Termios->getattr()'
>> Segmentation fault (core dumped)
>>
>> $ perl -MGDBM_File -e 'GDBM_File->FETCH(1)'
>> Segmentation fault (core dumped)
>>
>> The T_PTROBJ INPUT in stock typemap only uses 'sv_derived_from' for input
>> validation,
>> that cause a segfault when the argument passed match the class name.
>>
>> That typemap is used a little in core but in tons  in CPAN.
>>      
> Good catch ; thanks, applied to bleadperl as
> dc1f0c2041dab5a98af69338d1fa501b5e90ac70.
>    
Can I propose it for cherry-pick to maint?

Regards.

Salvador Ortiz.

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