On Fri, 16 Oct 2026 22:54:57 GMT, Naoto Sato <[email protected]> wrote:

> Adds validation for lengths and counts read from i18n binary data before 
> allocating arrays.
> 
> - `RuleBasedBreakIterator` and `UBiDiProps` validate declared lengths against 
> the remaining data.
> - `ZoneInfoFile` validates transition and rule counts against the limits 
> already used by `ZoneRules`.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

This pull request has now been integrated.

Changeset: dfae1e53
Author:    Naoto Sato <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/dfae1e532a1308542c8316fb6414d22424c3d0e1
Stats:     343 lines in 6 files changed: 331 ins; 0 del; 12 mod

8393882: Unchecked lengths in I18N binary-data parsers can cause oversized 
array allocations

Reviewed-by: jlu

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

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

Reply via email to