summaryrefslogtreecommitdiff
path: root/libservices
diff options
context:
space:
mode:
authorSujatha <sujatha.sivakumar@mariadb.com>2020-06-09 14:36:29 +0530
committerSujatha <sujatha.sivakumar@mariadb.com>2020-06-10 14:44:27 +0530
commit840fb495ce2c0c00b20f2a9ba44b6fcc20c56118 (patch)
tree2bb283450976288f95b5888fd22dc7dd435458e1 /libservices
parent6e4e097bc26d33951fedf8399f552ae4a336451e (diff)
downloadmariadb-git-840fb495ce2c0c00b20f2a9ba44b6fcc20c56118.tar.gz
MDEV-22059: MSAN report at replicate_ignore_table_grant
Analysis: ======== List of values provided for "replicate_ignore_table" and "replicate_do_table" are stored in HASH. When an empty list is provided the HASH structure doesn't get initialized. Existing code treats empty element list as an error and tries to clean the uninitialized HASH. This results in above MSAN issue. Fix: === The clean up should be initiated only when there is an error while parsing the 'replicate_do_table' or 'replicate_ignore_table' list and the HASH is in initialized state. Otherwise for empty list it should simply return success.
Diffstat (limited to 'libservices')
0 files changed, 0 insertions, 0 deletions