[vtk-developers] Integer overflow when clipping large volumes

Dan Lipsa dan.lipsa at kitware.com
Fri Aug 24 19:11:14 EDT 2018


Steven,
Thanks for your contribution! Your change makes sense. I'll merge it when
the tests finish.

Dan


On Fri, Aug 24, 2018 at 7:01 PM Hahn, Steven E. <hahnse at ornl.gov> wrote:

> I encountered a segmentation fault when attempting to clip a stack of
> tiffs (vtkImageData) in ParaView and, using the undefined behavior
> sanitizer, tracked it down to integer overflow in vtkTableBasedClipDataSet.
> Changing several variables from int to vtkIdType seems to correct the
> problem.
>
>
>
> I opened a merge request with these changes and a python file to reproduce
> the issue. The primary contributor to vtkTableBasedClipDataSet.cxx isn’t on
> the GitLab site, so I’m not sure who to tag. Is someone else interested in
> reviewing it?
>
>
>
> https://gitlab.kitware.com/vtk/vtk/merge_requests/4620
>
>
>
> Steven
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Search the list archives at: http://markmail.org/search/?q=vtk-developers
>
> Follow this link to subscribe/unsubscribe:
> https://public.kitware.com/mailman/listinfo/vtk-developers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20180824/72c766ac/attachment.html>


More information about the vtk-developers mailing list