Buffer overrun in vtkOBJExporter
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The FilePrefix passed to vtkOBJExporter can only be 75 characters long. In vtkOBJExporter::WriteData(), the FilePrefix is appended with ".obj" and ".mtl" and stored in the local variables nameObj and nameMtl. These variables are only allocated to be 80 characters long.
Passing in a long prefix with a long directory path can easily overflow this 80 character buffer.