postgresql/src/interfaces
Tom Lane 7f5e0b22e5 Fix null-pointer crash in ECPG compiler.
When compiling a DECLARE section containing a union nested
inside a struct, ecpg passes a null value for struct_sizeof to
ECPGmake_struct_type.  I (tgl) didn't foresee that case in
commit 0e6060790, and wrote an unprotected mm_strdup() call.

Reported-by: iMSA (via Jehan-Guillaume de Rorthais <jgdr@dalibo.com>)
Author: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/20260625114849.34b2148e@karst
Backpatch-through: 18
2026-06-25 16:58:29 -04:00
..
ecpg Fix null-pointer crash in ECPG compiler. 2026-06-25 16:58:29 -04:00
libpq Fix PQdescribePrepared with more than 7498 params 2026-06-15 11:28:45 +03:00
libpq-oauth libpq-oauth: Print libcurl version with OAUTHDEBUG_UNSAFE_TRACE 2026-06-17 09:57:20 -07:00
Makefile oauth: Move the builtin flow into a separate module 2025-05-01 09:14:30 -07:00
meson.build Update copyright for 2026 2026-01-01 13:24:10 -05:00