Comment 2 for bug 974809

Revision history for this message
infinull (infinull) wrote :

Oops, I meant to just attach the file, now I can't edit the bug body.

Anyway, when you opening the image file I attached (and linked), and you try to access tag with key Exif.Image.0x0001, you will get a segfault (probably should just throw an exception about malformed metadata)

Steps to reproduce
md = pyexiv2.ImageMetadata('1515.jpg')
md.read()
t = md['Exif.Image.0x0001'] #segfaults

exiv2 command line outputs this warning:
Warning: Directory Image, entry 0x0001 has unknown Exif (TIFF) type 0; setting type size 1.

Thanks for any help.