aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/complex.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2021-10-13 16:38:15 +0900
committerMichael Paquier <michael@paquier.xyz>2021-10-13 16:38:15 +0900
commit922e15c47647af1b15af0a92742c8af69e83c823 (patch)
tree64fd0f64a21ea0fcadff9d104818ea889f08efec /src/tutorial/complex.c
parentf4e1c8892b9e90a9d3ccae21db04a1215b9312a5 (diff)
downloadpostgresql-922e15c47647af1b15af0a92742c8af69e83c823.tar.gz
postgresql-922e15c47647af1b15af0a92742c8af69e83c823.zip
Fix use-after-free with multirange types in CREATE TYPE
The code was freeing the name of the multirange type function stored in the parse tree but it should not do that. Event triggers could for example look at such a corrupted parsed tree with a ddl_command_end event. Author: Alex Kozhemyakin, Sergey Shinderuk Reviewed-by: Peter Eisentraut, Michael Paquier Discussion: https://postgr.es/m/d5042d46-b9cd-6efb-219a-71ed0cf45bc8@postgrespro.ru Backpatch-through: 14
Diffstat (limited to 'src/tutorial/complex.c')
0 files changed, 0 insertions, 0 deletions