View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000096 | Slicer3 | Command Line Modules (Applications/CLI) | public | 2007-09-22 03:50 | 2007-11-08 10:54 |
Reporter | millerjv | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Summary | 0000096: 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. | ||||
Tags | No tags attached. | ||||