• David Gobbi's avatar
    Fix a memory overrun in vtkImagePointDataIterator. · d94d511d
    David Gobbi authored
    If the stencil extent was smaller than the image extent, then the code
    incremented the span list pointer upon reaching the first voxel within
    the stencil extent, even though the pointer was already at the correct
    location for the first voxel in the stencil extent.  The extra increment
    could lead to a buffer overrun and unpredicable behavior resulting in
    random crashes.