diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-29 16:49:10 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2020-05-29 17:04:53 +0300 |
commit | 39dc46166297504f05ade40ae03f27adc0345b2f (patch) | |
tree | 239d4693004d0d7c79982e8984c9656a94855f83 /sql/handler.h | |
parent | 58f3f692b987f431114a3e04008bec5b2dadd1d5 (diff) | |
download | mariadb-git-39dc46166297504f05ade40ae03f27adc0345b2f.tar.gz |
MDEV-22751 Uninitialized tbl_len in dict_acquire_mdl_shared()
A crash was observed where dict_acquire_mdl_shared<trylock=false>
would invoke memcpy() with an apparently uninitialized tbl_len.
dict_table_t::parse_name(): Remove an unnecessary tbl_len--
operation. (This should be mostly non-functional cleanup.)
dict_acquire_mdl_shared(): If the second dict_table_t::parse_name()
returns false, terminate the loop just like we would do on the
first invocation.
Diffstat (limited to 'sql/handler.h')
0 files changed, 0 insertions, 0 deletions