Check for unterminated strings when calling uloc_getLanguage().

Jeff Davis <jdavis@postgresql.org>

Commit: 8167371704bd2ae26304878c1d6d167dabed0c71
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-04-14T21:45:47Z
Releases: 16.14
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