[vtk-developers] vtkWindowedSincPolyDataFilter Bug Fix

David Doria daviddoria+vtk at gmail.com
Mon Feb 22 16:57:54 EST 2010


If you accidentally run this filter on an input with no geometry, it
segfaults.  The fix is to move the inMesh->Delete() on line 785 of
vtkWindowedSincPolyDataFilter.cxx inside the conditional on line 221 (i.e.
to line 316). It was attempting to delete inMesh even if it was never
created.

Can someone verify so I can commit the fix?

Thanks,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20100222/cefcc03e/attachment.html>


More information about the vtk-developers mailing list