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


Thanks for report This issue

Thanks for report

This issue is fixed now. The fix will be available in LibRaw 0.14.4. Hope, we'll release this version today.

-- Alex Tutubalin @LibRaw LLC