Check for unterminated strings when calling uloc_getLanguage().

Jeff Davis <jdavis@postgresql.org>

Commit: a756067a0e3b6ab6943f186f241b119aba2624f0
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-04-14T21:45:58Z
Releases: 17.10
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