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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/06ce97b9994eca91250d7c28f0df9b1ae7829f36

Modified Files
--------------
src/backend/utils/adt/pg_locale_icu.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)

Reply via email to