pgsql: Add checks for valid multibyte character length in UtfToLocal, L - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add checks for valid multibyte character length in UtfToLocal, L
Date
Msg-id E1mwVw9-000480-D1@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.

This back-patches commit d9f37e666 into out-of-support branches,
pursuant to newly-established project policy.  The point is to
suppress "uninitialized variable" warnings so that people building
these branches needn't expend brain cells verifying that it's safe
to ignore the warnings.

Discussion: https://postgr.es/m/d0316012-ece7-7b7e-2d36-9c38cb77cb3b@enterprisedb.com

Branch
------
REL9_2_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/70c64135d0a1715291b4a488df7377bf87207f8c

Modified Files
--------------
src/backend/utils/mb/conv.c | 15 +++++++++++++++
1 file changed, 15 insertions(+)


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql: Use return instead of exit() in configure
Next
From: Tom Lane
Date:
Subject: pgsql: Make pg_upgrade's test.sh less chatty.