/[Apache-SVN]
ViewVC logotype

Revision 1206412


Jump to revision: Previous Next
Author: damjan
Date: Sat Nov 26 09:19:39 2011 UTC (12 years, 6 months ago)
Changed paths: 2
Log Message:
When reading TIFF files (and EXIF sections in JPEG)
that have invalid offsets and/or lengths
for their IFD fields, ignore these
bad IFDs when we are not in strict mode.

This seems to be how other tools handle
this problem; we used to throw IOException
or OutOfMemoryError, and fail to parse the
file with no possibility of recovery.

Jira issue key: SANSELAN-55



Changed paths

Path Details
Directorycommons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/formats/tiff/TiffField.java modified , text changed
Directorycommons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/formats/tiff/TiffReader.java modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26