icu icon indicating copy to clipboard operation
icu copied to clipboard

ICU-23291 prevent icu4j stack overflow when a resource file is missing during ULocale initialization

Open eranl opened this issue 11 months ago • 2 comments

Fixes ICU-23291. Issue found while testing #3795.

eranl avatar Dec 11 '25 23:12 eranl

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Dec 11 '25 23:12 CLAassistant

@markusicu , WDYT?

richgillam avatar Feb 06 '26 17:02 richgillam

@eranl This PR has been quiet since 2026-02-06, so I have picked the fix up in #4341 — a minimal recursion guard in ICUResourceBundle.load() with a fail-before/pass-after JUnit regression test and a reproduction, rebased onto current main. It is the same root cause and fix semantics as here, plus the unit test and reproduction narrative @richgillam asked for in review. Happy to drop #4341 if you plan to continue here.

itsgaldoron avatar Nov 04 '26 06:11 itsgaldoron

@itsgaldoron, feel free. It doesn't look like this PR is going anywhere.

eranl avatar Nov 04 '26 17:11 eranl