Bug #568

[svn r.1571] exiv2 -ps crash for some jpeg files.

Added by Aurelien Grimaud 556 days ago. Updated 451 days ago.

Status:Closed Start:
Priority:Normal Due date:
Assigned to:Andreas Huggel % Done:

100%

Category:metadata
Target version:0.18

Description

some of my jpeg makes exiv2 crash, this leads to gwenview crash ...

Here is the command output
exiv2 20080804.lundi.04.ao

20080807.jeudi.07.ao (394.7 KB) Redmine Admin, 05 Sep 2008 08:55


Related issues

duplicated by Exiv2 - Bug #573 Crash in ExifData::getThumbnail () with corrupt jpeg Closed

History

Updated by Andreas Huggel 556 days ago

Aurelien,

Can you please attach or send me one of these images?

Thanks,
Andreas

Updated by Andreas Huggel 555 days ago

Alternatively, please retest with rev 1572, this should fix the problem.
-ahu.

Updated by Andreas Huggel 555 days ago

To recreate the problem with rev 1571, running exiv2 -et on one of the faulty images should crash it nicely.
The problem is that the image contains corrupted thumbnail tags, in particular, Exif.Thumbnail.Compression has an empty value, and exiv2 internally tried to access the value without checking.

Updated by Andreas Huggel 555 days ago

Updated by Aurelien Grimaud 555 days ago

Works fine with r1572.
Thanks.
I'll just try and change exif datas in order for gwenview to not crash.

exiv2 -et 20080807.jeudi.07.ao

Updated by Andreas Huggel 452 days ago

  • % Done changed from 0 to 100

Updated by Andreas Huggel 451 days ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF