Project

General

Profile

Bug #433

Core dump if the value is empty

Added by Andreas Huggel over 16 years ago. Updated almost 13 years ago.

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

0%

Estimated time:

Description

Print functions assume there is at least one component in a value. If that is not the case, i.e., a value happens to be empty, the result is undefined in some cases.

Additional information:

If a JPEG file gets XMP metadata attached by Photoshop CS2, exiv2
stops displaying EXIF entries.

Moreover, if I ask for a translated values, exiv2 aborts:

% exiv2 -pt IMG_2818-pslabel.JPG
zsh: floating point exception exiv2 -pt IMG_2818-pslabel.JPG

(Reported by Peter KELEMEN)

History

Also available in: Atom PDF