summaryrefslogtreecommitdiff
path: root/storage/connect/reldef.cpp
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2021-03-02 11:51:22 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2021-03-02 11:51:22 +0200
commit01b44c054d608c7a7c3ee751a14782558d06275f (patch)
tree14f0329b91676412118f4ff7df79cef66b2cda3c /storage/connect/reldef.cpp
parent1f1f61a9de0c85ed5fbe186b3c025a4ace002a8b (diff)
downloadmariadb-git-bb-10.5-MDEV-25026.tar.gz
MDEV-25026 Various code paths are accessing freed pagesbb-10.5-MDEV-25026
The test case encryption.innodb_encrypt_freed was failing in MemorySanitizer builds. recv_recover_page(): Mark non-recovered pages as freed. fil_crypt_rotate_page(): Before comparing the block->frame contents, check if the block was marked as freed. Other places: Whenever using BUF_GET_POSSIBLY_FREED, check the block->page.status before accessing the page frame. (Both uses of BUF_GET_IF_IN_POOL should be correct now.)
Diffstat (limited to 'storage/connect/reldef.cpp')
0 files changed, 0 insertions, 0 deletions