/[Apache-SVN]
ViewVC logotype

Revision 1147386


Jump to revision: Previous Next
Author: damjan
Date: Sat Jul 16 09:11:03 2011 UTC (12 years, 11 months ago)
Changed paths: 4
Log Message:
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



Changed paths

Path Details
Directorycommons/proper/sanselan/trunk/src/main/java/org/apache/sanselan/formats/jpeg/JpegUtils.java modified , text changed
Directorycommons/proper/sanselan/trunk/src/test/data/images/jpg/4/ added
Directorycommons/proper/sanselan/trunk/src/test/data/images/jpg/4/0x00-to-0xFF-between-segments.jpg added
Directorycommons/proper/sanselan/trunk/src/test/data/images/jpg/4/info.txt added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26