/[Apache-SVN]
ViewVC logotype

Revision 1209945


Jump to revision: Previous Next
Author: damjan
Date: Sat Dec 3 16:38:28 2011 UTC (12 years, 6 months ago)
Changed paths: 1
Log Message:
TIFF parsing should really be done with unsigned ints.
Unfortunately Java doesn't have those,
and Sanselan doesn't use larger ints and zero-extend.
This means Sanselan can't parse files larger than 2GB,
even though the max is 4GB. Fixing this would take more
work, but for now, at least make FieldType's isLocalValue()
treat length as unsigned, so that corrupt lengths
can be caught and ignored early.

Jira issue key: SANSELAN-53



Changed paths

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

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26