Bug #433

Core dump if the value is empty

Added by Andreas Huggel over 12 years ago. Updated almost 9 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:Andreas Huggel% Done:

0%

Category:exif
Target version:0.8

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

Redmine Appliance - Powered by TurnKey Linux