summaryrefslogtreecommitdiff
path: root/sql/handler.h
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-05-29 16:49:10 +0300
committerMarko Mäkelä <marko.makela@mariadb.com>2020-05-29 17:04:53 +0300
commit39dc46166297504f05ade40ae03f27adc0345b2f (patch)
tree239d4693004d0d7c79982e8984c9656a94855f83 /sql/handler.h
parent58f3f692b987f431114a3e04008bec5b2dadd1d5 (diff)
downloadmariadb-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