[vtk-developers] [VTK 0013508]: buffer overflow in vtkExodusIIWriter with more than 6 component arrays

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 10 18:17:02 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13508 
====================================================================== 
Reported By:                Nico
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13508
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   high
Status:                     backlog
Project:                    TBD 
Type:                       crash 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-10-10 18:17 EDT
Last Modified:              2012-10-10 18:17 EDT
====================================================================== 
Summary:                    buffer overflow in vtkExodusIIWriter with more than
6 component arrays
Description: 
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* ================
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-10-10 18:17 Nico           New Issue                                    
2012-10-10 18:17 Nico           File Added: exodus-writer.cpp                   

======================================================================




More information about the vtk-developers mailing list