RFR: 6355567: AdobeMarkerSegment causes failure to read valid JPEG

Liam Miller-Cushon cushon at openjdk.org
Wed Jul 5 23:26:04 UTC 2023


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.

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

Commit messages:
 - 6355567: AdobeMarkerSegment causes failure to read valid JPEG

Changes: https://git.openjdk.org/jdk/pull/14779/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14779&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-6355567
  Stats: 69 lines in 3 files changed: 61 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/jdk/pull/14779.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/14779/head:pull/14779

PR: https://git.openjdk.org/jdk/pull/14779



More information about the client-libs-dev mailing list