RFR: 6355567: AdobeMarkerSegment causes failure to read valid JPEG [v2]

Jeremy duke at openjdk.org
Tue Jul 11 07:27:14 UTC 2023


On Wed, 5 Jul 2023 23:51:11 GMT, Liam Miller-Cushon <cushon at openjdk.org> wrote:

>> Please review this fix for JDK-6355567, which updates AdobeMarkerSegment to use the reported length of the segment instead of assuming it's always exactly 14 bytes.
>
> Liam Miller-Cushon has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains one commit:
> 
>   6355567: AdobeMarkerSegment causes failure to read valid JPEG

Does anyone want to reinstate a test for this? I created a simple 10x10 black jpeg that reproduces the problem:

https://drive.google.com/file/d/15rhf9-aMqajgoc3OKFhJq92hIu4OmG32/view?usp=sharing

-------------

PR Comment: https://git.openjdk.org/jdk/pull/14779#issuecomment-1630290126



More information about the client-libs-dev mailing list