[vtk-developers] [VTK 0013057]: bad input to vtkXMLImageDataReader causes floating point exception (SIGFPE)

Mantis Bug Tracker mantis at public.kitware.com
Wed Apr 4 13:06:11 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://www.vtk.org/Bug/view.php?id=13057 
====================================================================== 
Reported By:                Tim Hutton
Assigned To:                
====================================================================== 
Project:                    VTK
Issue ID:                   13057
Category:                   (No Category)
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     backlog
Project:                    TBD 
Type:                       crash 
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2012-04-04 13:06 EDT
Last Modified:              2012-04-04 13:06 EDT
====================================================================== 
Summary:                    bad input to vtkXMLImageDataReader causes floating
point exception (SIGFPE)
Description: 
The following file (also attached) crashes our VTK application and also
Paraview, giving a floating point exception.

<?xml version="1.0"?>
<VTKFile type="ImageData" version="0.1" byte_order="LittleEndian"
compressor="vtkZLibDataCompressor">
  <ImageData WholeExtent="0 63 0 63 0 63" Origin="0 0 0" Spacing="1 1 1">
    <Piece Extent="0 63 0 63 0 63">
      <PointData Scalars="ImageScalars">
        <DataArray type="Float32" Name="ImageScalars" format="appended"
RangeMin="0" RangeMax="0" offset="0" />
      </PointData>
      <CellData>
      </CellData>
    </Piece>
  </ImageData>
  <AppendedData encoding="base64">
   _IAAAAA
  </AppendedData></VTKFile>

This file was produced by manual editing. Ideally this would give an error on
loading but wouldn't crash. 
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-04 13:06 Tim Hutton     New Issue                                    
2012-04-04 13:06 Tim Hutton     File Added: edited_image_BAD.vti                
   
======================================================================




More information about the vtk-developers mailing list