Add checks for valid multibyte character length in UtfToLocal, LocalToUtf.
Tom Lane <tgl@sss.pgh.pa.us>
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
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/mb/conv.c | modified | +15 −0 |
Discussion
- pg_dump versus ancient server versions 70 messages · 2021-10-22 → 2021-12-17