summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
authorVicențiu Ciorbaru <vicentiu@mariadb.org>2016-06-20 23:43:01 +0300
committerVicențiu Ciorbaru <vicentiu@mariadb.org>2016-06-22 16:41:38 +0300
commitb449612907bd09bebf8d1280d80839cd16784fd3 (patch)
tree01c38cd89c830ecb466b3767542872d9c49bcfdd /storage
parent5fd80875909c88e624a79a528eaaf9418089a211 (diff)
downloadmariadb-git-b449612907bd09bebf8d1280d80839cd16784fd3.tar.gz
MDEV-8638: REVOKE ALL PRIVILEGES, GRANT OPTION FROM CURRENT_ROLE breaks replication
Fix the replication failure caused by incorect initialization of THD::invoker_host && THD::invoker_user. Breakdown of the failure is this: Query_log_event::host and Query_log_event::user can have their LEX_STRING's set to length 0, but the actual str member points to garbage. Code afterwards copies Query_log_event::host and user to THD::invoker_host and THD::invoker_user. Calling code for these members expects both members to be initialized. Eg. the str member be a NULL terminated string and length have appropriate size.
Diffstat (limited to 'storage')
0 files changed, 0 insertions, 0 deletions