View Issue Details

IDProjectCategoryView StatusLast Update
0000096Slicer3Command Line Modules (Applications/CLI)public2007-11-08 10:54
Reportermillerjv Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0000096: MRMLIdImageIO crashes when shared object plugin writes a (true) 2D image
Description

MRMLIdImageIO crashes when a shared object plugin writes a true 2D image (as opposed to a degenerate 3D image) to the MRML scene. The error is in MRMLIdImageIO::WriteInformation() which assumes a 3D image. Loops to copy the directions, spacing, origin, etc. go for "i < 3" (buffer overflow).

Additional Information

Since Slicer is a 3D application, we should initialize local variables to a valid state for 3D. Then overwrite pieces of that information based on the plugin.

The "read" direction may not have this issue. But we should verify that we do not have uninitialized variables or buffer overflows.

TagsNo tags attached.

Activities

millerjv

millerjv

2007-11-08 10:54

developer   ~0000127

Changed the MRMLIDImageIO methods to handle true 2D images.

Issue History

Date Modified Username Field Change
2007-09-22 03:50 millerjv New Issue
2007-11-08 10:54 millerjv Status new => closed
2007-11-08 10:54 millerjv Note Added: 0000127
2007-11-08 10:54 millerjv Resolution open => fixed