Fix overrun when comparing with unterminated ICU language string. The overrun was introduced in commit c4ff35f10.
Author: Andreas Karlsson <[email protected]> Reported-by: Alexander Lakhin <[email protected]> Discussion: https://postgr.es/m/[email protected] Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/6393259bd49db307c7113d70da355544479ee342 Modified Files -------------- src/backend/utils/adt/pg_locale_icu.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
