[jdk17u-dev] RFR: 6355567: AdobeMarkerSegment causes failure to read valid JPEG

Michael De Vera duke at openjdk.org
Thu Feb 13 19:40:10 UTC 2025


Backport of [JDK-6355567: AdobeMarkerSegment causes failure to read valid JPEG](https://bugs.openjdk.org/browse/JDK-6355567)

Fixes bug that can occur when reading JPEG files with  Adobe-specific JPEG application markers.

Tier 1 tests were successful. New regression test fails without this fix but passes with it.

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

Commit messages:
 - Backport c7c6d47a07100f6c81af6cfad301ec1bda77adf7

Changes: https://git.openjdk.org/jdk17u-dev/pull/2977/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=2977&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/jdk17u-dev/pull/2977.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev.git pull/2977/head:pull/2977

PR: https://git.openjdk.org/jdk17u-dev/pull/2977


More information about the jdk-updates-dev mailing list