| From: | Masahiko Sawada <msawada(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Mark uuid-to-bytea cast as leakproof. |
| Date: | 2026-06-25 21:26:10 |
| Message-ID: | E1wcraM-000CjS-2v@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Mark uuid-to-bytea cast as leakproof.
The uuid-to-bytea cast just serializes a valid uuid datum into its
fixed 16-byte representation. It does not have an input-dependent
error path so mark its pg_proc entry as leakproof.
Oversight in commit ba21f5bf8a.
Bump catalog version.
Author: Chao Li <lic(at)highgo(dot)com>
Discussion: https://postgr.es/m/1FAAF426-9205-4F53-8D3B-F2003D96EC37@gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/6468f7a853c3c75066410cfb54ecdb3050ec7132
Modified Files
--------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 4 ++--
src/test/regress/expected/opr_sanity.out | 1 +
3 files changed, 4 insertions(+), 3 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2026-06-26 01:48:02 | pgsql: doc: Improve description of pg_get_multixact_stats() |
| Previous Message | Tom Lane | 2026-06-25 20:58:33 | pgsql: Fix null-pointer crash in ECPG compiler. |