aboutsummaryrefslogtreecommitdiff
path: root/src/backend/parser/parse_expr.c
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-02-01 10:35:16 +0900
committerMichael Paquier <michael@paquier.xyz>2019-02-01 10:35:16 +0900
commiteb8c9f0bc394160efd6951c69e644551e835a486 (patch)
tree1c4e5ae4d5ca29b4b4a5d87c64fa01721789cfe1 /src/backend/parser/parse_expr.c
parentf60a0e96778854ed0b7fd4737488ba88022e47bd (diff)
downloadpostgresql-eb8c9f0bc394160efd6951c69e644551e835a486.tar.gz
postgresql-eb8c9f0bc394160efd6951c69e644551e835a486.zip
Fix use of dangling pointer in heap_delete() when logging replica identity
When logging the replica identity of a deleted tuple, XLOG_HEAP_DELETE records include references of the old tuple. Its data is stored in an intermediate variable used to register this information for the WAL record, but this variable gets away from the stack when the record gets actually inserted. Spotted by clang's AddressSanitizer. Author: Stas Kelvish Discussion: https://postgr.es/m/085C8825-AD86-4E93-AF80-E26CDF03D1EA@postgrespro.ru Backpatch-through: 9.4
Diffstat (limited to 'src/backend/parser/parse_expr.c')
0 files changed, 0 insertions, 0 deletions