Check for unterminated strings when calling uloc_getLanguage().

Jeff Davis <jdavis@postgresql.org>

Commit: ca938ec213d954aaa9eba60bbbfbfa924fac0d7a
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-04-14T21:46:06Z
Releases: 18.4
Check for unterminated strings when calling uloc_getLanguage().

Missed by commit 1671f990dd66.

Author: Andreas Karlsson <andreas@proxel.se>
Discussion: https://postgr.es/m/118ca69e-47eb-42e1-83e9-72ccf40dd6fd@proxel.se
Backpatch-through: 16

Files

PathChange+/−
src/bin/initdb/initdb.c modified +2 −2

Discussion