postgresql/src/bin
Jeff Davis 1c634f6647 ICU: check for U_STRING_NOT_TERMINATED_WARNING.
Fixes memory error in cases where the length of the language name
returned by uloc_getLanguage() is exactly ULOC_LANG_CAPACITY, in which
case the status is set to U_STRING_NOT_TERMINATED_WARNING.

Also check in call sites for other ICU functions that are expected to
return a C string to be safe (no bug is known at these other call
sites).

Reported-by: Alexander Lakhin
Discussion: https://postgr.es/m/2098874d-c111-41e4-9063-30bcf135226b@gmail.com
2023-05-17 14:18:45 -07:00
..
initdb ICU: check for U_STRING_NOT_TERMINATED_WARNING. 2023-05-17 14:18:45 -07:00
pg_amcheck Fix incorrect TAP test ordering 2023-05-15 07:11:22 +02:00
pg_archivecleanup meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_basebackup pg_basebackup: Restore lost translation markers 2023-05-08 06:15:26 +02:00
pg_checksums Introduce PG_IO_ALIGN_SIZE and align all I/O buffers. 2023-04-08 16:34:50 +12:00
pg_config meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_controldata meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_ctl meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_dump Revert "Add USER SET parameter values for pg_db_role_setting" 2023-05-17 20:28:57 +03:00
pg_resetwal meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_rewind Fix overridden callbacks in pg_rewind. 2023-05-02 13:15:29 +02:00
pg_test_fsync meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_test_timing meson: add install-{quiet, world} targets 2023-03-23 21:20:18 -07:00
pg_upgrade Fix copy-and-pasto in error message 2023-05-05 07:50:08 +02:00
pg_verifybackup Support long distance matching for zstd compression 2023-04-06 17:18:42 +02:00
pg_waldump Add missing TAP test name 2023-05-03 11:08:24 +02:00
pgbench Fix some typos and some incorrectly duplicated words 2023-04-18 14:03:49 +12:00
pgevent Update copyright for 2023 2023-01-02 15:00:37 -05:00
psql Revert "Add USER SET parameter values for pg_db_role_setting" 2023-05-17 20:28:57 +03:00
scripts Fix various typos 2023-04-18 13:23:23 +12:00
Makefile Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00