diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-02 11:51:22 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2021-03-02 11:51:22 +0200 |
commit | 01b44c054d608c7a7c3ee751a14782558d06275f (patch) | |
tree | 14f0329b91676412118f4ff7df79cef66b2cda3c /zlib/zconf.h.in | |
parent | 1f1f61a9de0c85ed5fbe186b3c025a4ace002a8b (diff) | |
download | mariadb-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 'zlib/zconf.h.in')
0 files changed, 0 insertions, 0 deletions