Valgrind error on main.audit_log_filter_commands

Bug #1650321 reported by Laurynas Biveinis
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to
Status tracked in 5.7
Fix Released
Sergei Glushchenko
Fix Released
Sergei Glushchenko

Bug Description

On 5.6 trunk, Valgrind build:

./mtr --debug-server --valgrind-mysqld audit_log_filter_commands --valgrind-option=--track-origins=yes

==7401== Thread 20:
==7401== Conditional jump or move depends on uninitialised value(s)
==7401== at 0x4C32C52: __memcmp_sse4_1 (vg_replace_strmem.c:1094)
==7401== by 0xE8BB9D: my_strnncoll_binary (ctype-bin.c:84)
==7401== by 0xA3FA7E: hashcmp (hash.c:379)
==7401== by 0xA3F812: my_hash_first_from_hash_value (hash.c:294)
==7401== by 0xA3F74F: my_hash_first (hash.c:267)
==7401== by 0xA3F635: my_hash_search (hash.c:235)
==7401== by 0xB7B4C98: audit_log_check_command_included (filter.c:370)
==7401== by 0xB7B0321: audit_log_update_thd_local (audit_log.c:943)
==7401== by 0xB7B06CD: audit_log_notify (audit_log.c:1019)
==7401== by 0x6C7F81: plugins_dispatch(THD*, st_plugin_int**, void*) (
==7401== by 0x6C804A: event_class_dispatch(THD*, unsigned int, void const*) (
==7401== by 0x6C7041: general_class_handler(THD*, unsigned int, __va_list_tag*) (
==7401== by 0x6C79E5: mysql_audit_notify(THD*, unsigned int, unsigned int, ...) (
==7401== by 0x742676: mysql_audit_general(THD*, unsigned int, int, char const*) (sql_audit.h:196)
==7401== by 0x746EB7: dispatch_command(enum_server_command, THD*, char*, unsigned int) (
==7401== by 0x74485F: do_command(THD*) (
==7401== Uninitialised value was created by a stack allocation
==7401== at 0xB7B4C22: audit_log_check_command_included (filter.c:362)

tags: added: audit ci valgrind
Revision history for this message
Sergei Glushchenko (sergei.glushchenko) wrote :
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to:

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers