Project

General

Profile

Bug #495

Image with corrupted metadata crashes Exiv2

Added by Andreas Huggel about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Normal
Category:
exif
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

First reported as digikam bug 136932 by Rainer Krienke:

"Version: 0.9.0-svn (using KDE KDE 3.5.4)
Installed from: SuSE RPMs
Compiler: gcc 4.1.0
OS: Linux

I have a photo that first worked fine with dikikam. I did some editing on it, probably added a jpg comment to it in digikam which is stored inside the jpg. Now when digikam sees this file it crashes. Other tools like gwenview can however display it."

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

Additional information:

The image provided has a corrupted IOP directory.

History

#1

Updated by Andreas Huggel about 15 years ago

r943 implements a quick fix (not the final solution). The problem will be fixed properly with the new TIFF parser.

Todo: Add test-case

#2

Updated by Andreas Huggel about 15 years ago

r982 adds test-case.

Also available in: Atom PDF