[vtk-developers] Bug in vtkWindowedSincPolyDataFilter

David Doria daviddoria+vtk at gmail.com
Sun Dec 6 18:55:30 EST 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20091206/939b2655/attachment.html>


More information about the vtk-developers mailing list