Commit 8b572a6f authored by Will Schroeder's avatar Will Schroeder Committed by Kitware Robot

Merge topic 'ASAN-Checkerboard-Overrun'

ad5ac57c Removed ASan buffer overrun
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !1662
parents 86347484 ad5ac57c
Pipeline #18935 running with stage
......@@ -533,7 +533,7 @@ SplatPoints(vtkCheckerboardSplatter *self, vtkIdType npts, TPoints *pts,
{
currentAddr = algo.SPts[pEnd].Addr;
pStart = pEnd;
while ( currentAddr == algo.SPts[pEnd].Addr && pEnd < npts )
while ( pEnd < npts && currentAddr == algo.SPts[pEnd].Addr )
{
pEnd++;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment