Skip to content

Fix a memory overrun in vtkImageStencilIterator.

David Gobbi requested to merge dgobbi/vtk:stencil-iterator-overrun into master

The code called SetSpanState() after incrementing past the end of the stencil, causing a memory read past the end of the allocated memory. This resulted in unpredictable behaviour and random crashes.

Merge request reports