Make JPEG parsing a lot more resilient:
skip all bytes between the end of a segment
and the next 0xFF followed by non-0xFF.
Add a thorough test for this.

Fixes one of the problems with SANSELAN-13.

JIRA-Key: SANSELAN-13



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