aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/basics.source
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-02-01 10:35:58 +0900
committerMichael Paquier <michael@paquier.xyz>2019-02-01 10:35:58 +0900
commit90f1ba7ecf01f063c0e113c72afcf8c1a64ca285 (patch)
treec403d4d1378a0ab5c81720e9fd5091f5659ecf58 /src/tutorial/basics.source
parentedd8278c544e7b7a7478f19ba245bb3c0df79dd6 (diff)
downloadpostgresql-90f1ba7ecf01f063c0e113c72afcf8c1a64ca285.tar.gz
postgresql-90f1ba7ecf01f063c0e113c72afcf8c1a64ca285.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/tutorial/basics.source')
0 files changed, 0 insertions, 0 deletions