[jdk11u-dev] Integrated: 8361748: Enforce limits on the size of an XBM image
Francisco Ferrari Bihurriet
fferrari at openjdk.org
Thu Jan 29 16:42:11 UTC 2026
On Thu, 18 Dec 2025 23:47:59 GMT, Francisco Ferrari Bihurriet <fferrari at openjdk.org> wrote:
> Hi, this is an almost clean backport of openjdk/jdk17u-dev#3901.
>
> The only differences are in context (deleted and surrounding code) due to 11u missing [JDK-8211300: Convert C-style array declarations in JDK client code](https://bugs.openjdk.org/browse/JDK-8211300).
>
> NOTE: as part of this work, I found some issues with the original patch (see [JDK-8373727](https://bugs.openjdk.org/browse/JDK-8373727 "New XBM images parser regression: only the first line of the bitmap array is parsed")), so an additional backport of that fix will be needed too.
>
> #### Testing
>
> The [GitHub Actions testing run (tier1 on various platforms)](https://github.com/franferrax/jdk11u-dev/actions/runs/20177700844) has passed.
>
> In addition, the new `test/jdk/java/awt/image/XBMDecoder/XBMDecoderTest.java` is passing in a local slowdebug build on _Fedora Linux x64_.
This pull request has now been integrated.
Changeset: 4e9144ce
Author: Francisco Ferrari Bihurriet <fferrari at openjdk.org>
Committer: Severin Gehwolf <sgehwolf at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/4e9144cec6d91b55ff6b5ecdb1366fe960cf0063
Stats: 245 lines in 7 files changed: 157 ins; 33 del; 55 mod
8361748: Enforce limits on the size of an XBM image
Reviewed-by: sgehwolf, andrew
Backport-of: c71be802b530034169d17325478dba6e2f1c3238
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/3135
More information about the jdk-updates-dev
mailing list