diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-09-06 11:33:52 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-09-06 11:33:52 +0300 |
commit | c0470caf5a80e69ad7d855a871c62cf72dc03b05 (patch) | |
tree | e35834ec13df42fae1237a7955b9b6e98e4f5d52 /myisam/ft_eval.c | |
parent | ba987a46c9a7cb0e7418882c5be224c733098cf0 (diff) | |
download | mariadb-git-c0470caf5a80e69ad7d855a871c62cf72dc03b05.tar.gz |
MDEV-29471 Buffer overflow in page_cur_insert_rec_low()
In commit 244fdc435da364aea3b6e55835115cc04fe3297f (MDEV-29438)
we made sure that if the preceding record is the page infimum record,
no more than 8 bytes will be read from it. But, if the data payload of
the being-inserted record is less than 8 bytes (this can happen in
secondary indexes), we must not compare all 8 bytes.
This was caught by a failure of the test gcol.innodb_virtual_basic
under MemorySanitizer and some builds with AddressSanitizer.
Diffstat (limited to 'myisam/ft_eval.c')
0 files changed, 0 insertions, 0 deletions