Bug #513

Sony Makernote crashes exiv2

Added by Andreas Huggel about 10 years ago. Updated over 8 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

0%

Category:exif
Target version:0.15

Description

This digiKam crash happens in exiv2:

http://bugs.kde.org/show_bug.cgi?id=144574

At first glance it seems to be caused by the Makernote of the SONY MVC-CD500 images. It's not clear from the digiKam bug report whether the images come straight from the camera or were processed with other software.

DSC01199.JPG (2.05 MB) Redmine Admin, 26 Apr 2007 06:36

DSC01205.JPG (2 MB) Redmine Admin, 26 Apr 2007 06:37

DSC01211.JPG (1.82 MB) Redmine Admin, 26 Apr 2007 06:39


Related issues

Related to Exiv2 - Bug #521: Image with large invalid Exif tag crashes exiv2 Closed
Duplicated by Exiv2 - Bug #520: crash when loading certain image Closed

Associated revisions

Revision 1124
Added by Andreas Huggel almost 10 years ago

Added check for TIFF entry size (ported from trunk, untested). Fixes #513 in this branch.

History

#1 Updated by Aaron D Campbell about 10 years ago

I uploaded the three images I have that cause the problem. I have other pictures from that camera that work fine. Would it be helpful to have a couple of those? Also, I do not believe the images were processed with any other software, but I can't guarantee that (May 2004 seems like so long ago).

#2 Updated by Andreas Huggel about 10 years ago

Thanks. The images which cause the problem should be sufficient. I'll try to find some time to look into this over the weekend.

#3 Updated by Andreas Huggel almost 10 years ago

r1106 fixes the problem in the JPEG parser.
A similar fix for the new TIFF parser is required as well.

#4 Updated by Andreas Huggel almost 10 years ago

r1124 fixes the problem in the new TIFF parser.

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux