[vtk-developers] Bug in vtkWindowedSincPolyDataFilter

Bill Lorensen bill.lorensen at gmail.com
Fri Jan 8 18:32:54 EST 2010


I'll take a look this weekend and verify. I'll do the commit if it's justified.

Bill

On Fri, Jan 8, 2010 at 6:07 PM, David Doria <daviddoria+vtk at gmail.com> wrote:
> 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
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtk-developers
>
>



More information about the vtk-developers mailing list