Bug #521
Image with large invalid Exif tag crashes exiv2
| Status: | Closed | Start: | ||
| Priority: | Normal | Due date: | ||
| Assigned to: | Andreas Huggel | % Done: | 0% |
|
| Category: | exif | |||
| Target version: | 0.15 | |||
Description
Is it just me, or this JPEG file:
<http://farm2.static.flickr.com/1159/533197401_e0d2c40636_o.jpg>
causes exiv2 to crash and burn? I've just tried with version 0.14:
[hveravellir 12:33 ~/Downloads/exiv2-0.14/src] % ./exifprint /Users/
marco/Desktop/533197401_e0d2c40636_o.jpg
Warning: IFD0 tag 0x0000 has invalid Exif type 0; using 7 (undefined).
Warning: IFD1: Pointer to next IFD is out of bounds; ignored.
Warning: IFD1 tag 0x0000 has invalid Exif type 72; using 7 (undefined).
Warning: IFD1 tag 0x6f74 has invalid Exif type 28531; using 7 (undefined).
Segmentation fault
Reported by Marco Piovanelli.