diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-03-10 10:23:04 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2020-03-10 09:53:29 +0100 |
commit | 561b5ce3647a63c343f70ce183e408423b3fa65c (patch) | |
tree | 88d55fc622b3a78cbf4f031e9d345c9bcf182d71 /sql/uniques.cc | |
parent | e2e2f89303f7b8c2ac0f51413ae08a73615c63e7 (diff) | |
download | mariadb-git-561b5ce3647a63c343f70ce183e408423b3fa65c.tar.gz |
MDEV-21748 ASAN use-after-poison in PageBulk::insertPage()
PageBulk::insertPage(): Check the array bounds before comparing.
We used to read one byte beyond the end of the 'rec' payload.
The incorrect logic was originally introduced in
commit 7ae21b18a6b73bbc3bf1ff448faf60c29ac1d386.
Diffstat (limited to 'sql/uniques.cc')
0 files changed, 0 insertions, 0 deletions