[vtk-developers] Strange problem with vtkPLYReader
Sean McBride
sean at rogue-research.com
Thu Aug 10 13:29:58 EDT 2017
On Thu, 10 Aug 2017 13:06:18 -0400, Bill Lorensen said:
>The PLYReader is fine. The file is not a proper PLY file. The face
>indices should be zero-based, but in this file they are one-based. So,
>the face
>3 1 2 5
>is referencing an point 5 which exceeds the points array which has
>tuples from 0 - 4 (5 points).
In which case one may reasonably argue that the PLYReader is indeed broken, for failing to reject invalid files. Under ASan/valgrind, would the PLYReader crash with this file?
Sean
More information about the vtk-developers
mailing list