Fix crash on undefined metadata on some Nikon images.
Identical to commit:5405d61623e82896e498c5c8342dd6f42e689115
This commit is contained in:
parent
d73db127b1
commit
591dea579a
@ -299,6 +299,8 @@ namespace Exiv2 {
|
||||
const Value& value,
|
||||
const ExifData* exifData)
|
||||
{
|
||||
if ( ! exifData ) return os << "undefined" ;
|
||||
|
||||
if ( value.count() >= 9 ) {
|
||||
ByteOrder bo = getKeyString("Exif.MakerNote.ByteOrder",exifData) == "MM" ? bigEndian : littleEndian;
|
||||
byte p[4];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user