postgresql/src
Noah Misch 44fc85bbf9 pg_mblen_range, pg_mblen_with_len: Valgrind after encoding ereport.
The prior order caused spurious Valgrind errors.  They're spurious
because the ereport(ERROR) non-local exit discards the pointer in
question.  pg_mblen_cstr() ordered the checks correctly, but these other
two did not.  Back-patch to v14, like commit
1e7fe06c10.

Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/20260214053821.fa.noahmisch@microsoft.com
Backpatch-through: 14
2026-02-14 12:16:21 -08:00
..
backend pg_mblen_range, pg_mblen_with_len: Valgrind after encoding ereport. 2026-02-14 12:16:21 -08:00
bin Translation updates 2026-02-08 15:11:05 +01:00
common Fix mb2wchar functions on short input. 2026-02-09 12:38:12 +13:00
fe_utils In fmtIdEnc(), handle failure of enlargePQExpBuffer(). 2025-02-16 12:46:35 -05:00
include Harden _int_matchsel() against being attached to the wrong operator. 2026-02-09 10:14:22 -05:00
interfaces Translation updates 2026-02-08 15:11:05 +01:00
makefiles Add NO_INSTALL option to pgxs 2021-05-27 13:58:29 +02:00
pl Fix plpgsql's handling of "return simple_record_variable". 2026-02-11 16:53:14 -05:00
port Fix POSIX compliance in pgwin32_unsetenv() for "name" argument 2025-10-21 08:08:42 +09:00
template On NetBSD, force dynamic symbol resolution at postmaster start. 2022-08-30 17:29:03 -04:00
test Guard against unexpected dimensions of oidvector/int2vector. 2026-02-09 09:57:44 -05:00
timezone Update time zone data files to tzdata release 2025c. 2026-01-18 14:55:13 -05:00
tools Harden _int_matchsel() against being attached to the wrong operator. 2026-02-09 10:14:22 -05:00
tutorial Doc: sync src/tutorial/basics.source with SGML documentation. 2022-11-19 13:09:14 -05:00
.gitignore
DEVELOPERS
Makefile Remove the option to build thread_test.c outside configure. 2020-10-21 12:08:48 -04:00
Makefile.global.in Don't put library-supplied -L/-I switches before user-supplied ones. 2025-07-29 15:17:41 -04:00
Makefile.shlib Stop using "-multiply_defined suppress" on macOS. 2023-09-26 21:06:21 -04:00
nls-global.mk Fix update-po for the PGXS case 2025-10-16 20:21:05 +02:00