Project

General

Profile

Bug #1325 ยป exiv2-fix-segfault_nikon.patch

quick fix to avoid the crash - Thibaud Mouton, 23 Nov 2017 14:45

View differences:

nikonmn.cpp_bak 2017-11-23 12:34:15.172928058 +0100
299 299
                                               const Value& value,
300 300
                                               const ExifData* exifData)
301 301
    {
302
        if ( ! exifData ) return os << "undefined" ;
303
        
302 304
        if ( value.count() >= 9 ) {
303 305
            ByteOrder bo = getKeyString("Exif.MakerNote.ByteOrder",exifData) == "MM" ? bigEndian : littleEndian;
304 306
            byte      p[4];
    (1-1/1)