Comment 3 for bug 1663251

Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote : Re: ASan errors on main.audit_log_filter_commands and main.audit_log_filter_users

Looking at the stack trace I see

audit_log_check_command_included(name="error", length=0)

and

p event_general->general_sql_command
(MYSQL_LEX_STRING) $0 = (str = "error", length = 0)

so, it is likely core server to blame.

1. my_hash_search doesn't handle 0 length correctly
2. MYSQL_LEX_STRING contains invalid value when passed to plugin