lightzone-created jpeg causes exif2 to segfault
|Assignee:||Andreas Huggel||% Done:|
exiv2 crashes reproducably when trying to modify a lightzone created jpg file.
exiv2 -M"set Exif.Photo.UserComment charset=Ascii Neuer Kommentar" x.jpg
#1 Updated by Andreas Huggel about 10 years ago
The crash occurs when Exiv2 re-writes the IPTC data of the image. The photoshop IRB data of this image is not padded to even size. (It should be according to the specs.)
r1146 in SVN fixes the problem for the sample image provided.
If you have additional images with the same problem, please test this fix with all such images and report back if you still get crashes.