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



git-svn-id: https://svn.apache.org/repos/asf/commons/proper/sanselan/trunk@1209945 13f79535-47bb-0310-9956-ffa450edef68
1 file changed
tree: 276e27e6b051d1659ec1c2a4b71040d4bc7580db
  1. src/
  2. KEYS
  3. LICENSE.txt
  4. NOTICE.txt
  5. pom.xml
  6. README.txt
  7. RELEASE_NOTES