[Numpy-discussion] SegFault/double free with simple array mask operation

Eric Firing efiring@hawaii....
Sun Nov 18 15:18:10 CST 2007


Stefan,

Ticket #607 should be closed now also.  It looks like I can't do that, 
even though I created the ticket.

I'm not sure whether it was the fix for #614 that did it, or whether it 
is the code it referred to, but now a proper exception is raised instead 
of a segfault.

Eric

Stefan van der Walt wrote:
> On Sat, Nov 17, 2007 at 12:55:57PM +0100, Achim Gaedke wrote:
>> Achim Gaedke wrote:
>>> David Cournapeau wrote:
>>>   
>>>> Could you open a ticket on the numpy trac system ? (I can confirm the bug)
>>>>
>>>> cheers,
>>>>
>>>> David
>>>>   
>>>>     
>>> It is Ticket #614 . The version information in trac are outdated, I 
>>> could not select version 1.0.3 or 1.0.4 .
>>>   
>> Here is the solution for Segmentation Fault reported.
>> It is basicly copied from the function iter_subscript_Bool, which alredy 
>> does the necessary range checks.
> 
> Thanks, Achim.  This is now fixed in SVN.
> 
> Regards
> Stéfan
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion



More information about the Numpy-discussion mailing list