MantisBT - VTK
View Issue Details
0013508VTK(No Category)public2012-10-10 18:172016-07-06 11:42
Nico Schlömer 
Sankhesh Jhaveri 
highminorhave not tried
closedfixed 
 
6.1.0 
TBD
crash
0013508: buffer overflow in vtkExodusIIWriter with more than 6 component arrays
When using the vtkExodusIIWriter to write out a data array with more than 6 components, a buffer overflow occurs.
The vtkXMLUnstructuredGridWriter is not affected.

An example script that highlights the crash is attached.
Builds with

================ *snip* ================
cmake_minimum_required(VERSION 2.8)

FIND_PACKAGE(VTK)

INCLUDE_DIRECTORIES(SYSTEM ${VTK_INCLUDE_DIRS})

SET(MY_EXECUTABLE "a.out")
ADD_EXECUTABLE( "a.out" "exodus-writer.cpp")
TARGET_LINK_LIBRARIES("a.out"
                      vtkIO vtkParallel)
================ *snap* ================
No tags attached.
cpp exodus-writer.cpp (2,400) 2012-10-10 18:17
https://www.vtk.org/Bug/file/9298/exodus-writer.cpp
Issue History
2012-10-10 18:17Nico SchlömerNew Issue
2012-10-10 18:17Nico SchlömerFile Added: exodus-writer.cpp
2013-12-18 10:27Sankhesh JhaveriNote Added: 0032019
2013-12-18 10:27Sankhesh JhaveriStatusbacklog => expired
2013-12-18 10:27Sankhesh JhaveriFixed in Version => 6.1.0
2013-12-18 10:27Sankhesh JhaveriResolutionopen => fixed
2013-12-18 10:27Sankhesh JhaveriAssigned To => Sankhesh Jhaveri
2014-10-04 20:21Berk GeveciStatusexpired => backlog
2014-10-04 20:21Berk GeveciResolutionfixed => reopened
2016-07-06 11:42Sankhesh JhaveriNote Added: 0036184
2016-07-06 11:42Sankhesh JhaveriStatusbacklog => closed
2016-07-06 11:42Sankhesh JhaveriResolutionreopened => fixed

Notes
(0032019)
Sankhesh Jhaveri   
2013-12-18 10:27   
Could not reproduce issue in version 6.1.0.
Please feel free to reopen if its still not working.
(0036184)
Sankhesh Jhaveri   
2016-07-06 11:42   
Closing since I cannot reproduce it with the latest master as of 07/06/2015.