Add new comment

LibRaw crashes on malformed JPEG file

The attached malformed JPEG file can cause LibRaw to crash:

$ raw-identify '/home/adam/Desktop/P1010671.JPG' 
Floating point exception

This, in turn, causes Shotwell (a photo manager which uses LibRaw) to crash as well.

I'm using LibRaw 0.14.3. It would be nice to fix this to make LibRaw more robust. Thanks!

Image icon P1010671.JPG8 KB