Check for unterminated strings when calling uloc_getLanguage().

Jeff Davis <jdavis@postgresql.org>

Commit: dacd8fa6f259e25f747d6d71290d9d5ed86095df
Author: Jeff Davis <jdavis@postgresql.org>
Date: 2026-04-14T21:46:14Z
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