From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Back-patch pg_encoding_verifymbstr()/pg_encoding_verifymbchar()
Date: Mon, 10 Feb 2025 15:09:49 +0000
Message-ID: <E1thVPw-006NyZ-VN@gemulon.postgresql.org> (raw)
Back-patch pg_encoding_verifymbstr()/pg_encoding_verifymbchar() to v13.
A security fix will need those functions, so back-patch the v14+ functions to
v13.
When commit b80e10638e36b9d2f0b39170c613837af2ca2aac introduced the v14+
implementation of pg_encoding_verifymbstr(), it added a callback to each
pg_wchar_table entry. For simplicity and ABI stability, this instead
implements the function in terms of the existing per-character callback.
Author: Noah Misch <noah@leadboat.com>
Author: Andres Freund <andres@anarazel.de>
Security: CVE-2025-1094
Branch
------
REL_13_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/00f1a1f665f078f5abadbf8baddc5c187fba80f8
Modified Files
--------------
src/common/wchar.c | 66 +++++++++++++++++++++++++++++++++++++++++++++++
src/include/mb/pg_wchar.h | 2 ++
2 files changed, 68 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Back-patch pg_encoding_verifymbstr()/pg_encoding_verifymbchar()
In-Reply-To: <E1thVPw-006NyZ-VN@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox