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

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

Thread Previous | Thread Next
From:
Rafael Garcia-Suarez
Date:
May 28, 2010 01:28
Subject:
Re: [PATCH] Naif calls segfault T_PRTOBJ of the stock typemap
Message ID:
AANLkTikJpTI-veM9IyOy3ZRtSuTo8iGjeZsh97mOSC6m@mail.gmail.com
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.

Thread Previous | Thread Next


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