From: Dan F. <dfa...@us...> - 2009-10-09 04:29:00
|
Update of /cvsroot/libexif/libexif/libexif/pentax In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv17240/libexif/pentax Modified Files: exif-mnote-data-pentax.c Log Message: Demoted from EXIF_LOG_CODE_CORRUPT_DATA to EXIF_LOG_CODE_DEBUG the MakerNote log messages that would result if a MakerNote were rewritten by an application without rebasing the internal data offsets. The exif front end (at least) aborts processing if such a log message is found, but these kinds of errors are far too common (and practically unavoidable) to handle them this way. Index: exif-mnote-data-pentax.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/pentax/exif-mnote-data-pentax.c,v retrieving revision 1.18 retrieving revision 1.19 diff -u -p -d -r1.18 -r1.19 --- exif-mnote-data-pentax.c 25 Sep 2009 22:01:53 -0000 1.18 +++ exif-mnote-data-pentax.c 9 Oct 2009 04:28:49 -0000 1.19 @@ -306,7 +306,7 @@ exif_mnote_data_pentax_load (ExifMnoteDa dataofs = exif_get_long (buf + dataofs, n->order) + 6; if ((dataofs + s < dataofs) || (dataofs + s < s) || (dataofs + s > buf_size)) { - exif_log (en->log, EXIF_LOG_CODE_CORRUPT_DATA, + exif_log (en->log, EXIF_LOG_CODE_DEBUG, "ExifMnoteDataPentax", "Tag data past end " "of buffer (%u > %u)", dataofs + s, buf_size); continue; |