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.
viewer breaks in directory with malformed DICOM images
Moderators: XnTriq, helmut, xnview
-
- Posts: 7
- Joined: Tue Dec 05, 2017 1:15 pm
viewer breaks in directory with malformed DICOM images
Last edited by bugreporter on Fri Jan 01, 2021 3:13 pm, edited 2 times in total.
-
- XnThusiast
- Posts: 4134
- Joined: Sun Apr 29, 2012 9:45 am
- Location: Cheltenham, U.K.
Re: viewer breaks in directory with malformed DICOM images
You should be able to upload a DICOM file in a ZIP or similar archive, 2MiB the current attachment limit...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.