View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014515VTK(No Category)public2014-01-15 10:002015-01-09 13:40
ReporterAdrian Winterstein 
Assigned ToSean McBride 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version6.0.0 
Target VersionFixed in Version6.2.0 
Summary0014515: STL reader crashes on linux if loading an invalid STL file
DescriptionThe vtkSTLReader crashes if an invalid file is loaded. An example file is attached to this report. The crash occurs on line 146 ("fclose(fp);") of vtkStlReader.cxx as fclose is called on an already closed file handle.

The crash only occurs on linux.
Tagshackaton
ProjectKitware
Typecrash
Attached Files? file icon InvalidSurface.stl [^] (81 bytes) 2014-01-15 10:00
patch file icon stl-fclose.patch [^] (3,296 bytes) 2014-01-15 10:02 [Show Content]

 Relationships

  Notes
(0032175)
Adrian Winterstein (reporter)
2014-01-15 10:05

I've attached a patch for this issue. Now, the file is only closed in the function where it was opened before (RequestData()). Instead of closing it sometimes inside a subfunction.
(0033398)
Sean McBride (developer)
2014-10-01 15:02

http://review.source.kitware.com/17304 [^]
(0033417)
Sean McBride (developer)
2014-10-02 09:22

Merged.

 Issue History
Date Modified Username Field Change
2014-01-15 10:00 Adrian Winterstein New Issue
2014-01-15 10:00 Adrian Winterstein File Added: InvalidSurface.stl
2014-01-15 10:02 Adrian Winterstein File Added: stl-fclose.patch
2014-01-15 10:05 Adrian Winterstein Note Added: 0032175
2014-10-01 10:47 Sean McBride Assigned To => Sean McBride
2014-10-01 10:47 Sean McBride Status backlog => tabled
2014-10-01 10:47 Sean McBride Tag Attached: hackaton
2014-10-01 12:40 Berk Geveci Status tabled => backlog
2014-10-01 15:02 Sean McBride Note Added: 0033398
2014-10-01 15:02 Sean McBride Status backlog => gerrit review
2014-10-01 15:02 Sean McBride Resolution open => fixed
2014-10-01 15:02 Sean McBride Fixed in Version => 6.2.0
2014-10-02 09:22 Sean McBride Note Added: 0033417
2014-10-02 09:22 Sean McBride Status gerrit review => closed
2015-01-09 13:39 Sean McBride Source_changeset_attached => VTK master dde77d29
2015-01-09 13:40 Sean McBride Source_changeset_attached => VTK master e579693c


Copyright © 2000 - 2018 MantisBT Team