Skip to content

vtkOBJReader: avoid a possible null buffer access

Qiao Tan requested to merge CiaoTan/vtk:fix-objreader-segfault into master

The OBJ in issue #18762 (closed) has no vertex normals, yet its faces contain invalid reference numbers to them. This leads to a non-zero n_normal_pts and a null normals buffer in vtkOBJReader.

Merge request reports

Loading