• guoxuedong's avatar
    Update exif.cpp · e69253a4
    guoxuedong authored
     ExifReader::getExif may enter infinite loop with jpeg image which have no EOI.
    For example, bytesToSkip may be set to 0 and fseek seems like fseek(f, -2 , SEEK_CUR) for image that end with RST7(FF D7) instead of EOI.
    e69253a4
exif.cpp 18.4 KB