[vtk-developers] Bug in vtkWindowedSincPolyDataFilter

David Doria daviddoria+vtk at gmail.com
Fri Jan 8 18:07:33 EST 2010


On Mon, Dec 7, 2009 at 6:54 AM, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> I'l take a look.
>
> On Sun, Dec 6, 2009 at 6:55 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
>> If you accidentally run this filter on an input with no geometry (or only
>> vertices), it segfaults.  I believe if the inMesh->Delete() on line 785 of
>> vtkWindowedSincPolyDataFilter.cxx is moved to inside the conditional on line
>> 221 (i.e. to line 316) that will fix the problem. It was attempting to
>> delete inMesh even if it was never created. Can someone verify and commit
>> the fix?
>>
>> Thanks,
>>
>> David

Can someone verify this so I can commit it?

Thanks,

David



More information about the vtk-developers mailing list