Page 1 of 1

viewer breaks in directory with malformed DICOM images

Posted: Tue Dec 05, 2017 1:23 pm
by bugreporter
If a directory currently being viewed contains a DICOM file, with PixelData, Rows, Columns but no SamplesPerPixel field, the viewer crashes upon entry to that directory. Sadly the forum doesn't let me upload DICOM files so I can't provide a sample. Tried decompile it without much success.
Edit: this is on an x86_64 Arch Linux machine.

Re: viewer breaks in directory with malformed DICOM images

Posted: Tue Dec 05, 2017 1:35 pm
by cday
bugreporter wrote:If a directory currently being viewed contains a DICOM file, with PixelData, Rows, Columns but no SamplesPerPixel field, the viewer crashes upon entry to that directory. Sadly the forum doesn't let me upload DICOM files so I can't provide a sample.

This is on an x86_64 Arch Linux machine.
You should be able to upload a DICOM file in a ZIP or similar archive, 2MiB the current attachment limit...