Crash in sst_auth_real_set with SET @@global.wsrep_sst_auth= NULL
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
MySQL patches by Codership | Status tracked in 5.6 | |||||
5.5 |
Confirmed
|
Undecided
|
Unassigned | |||
5.6 |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
When running the MariaDB wsrep.variables test suite while the wsrep library was not loaded at all caused the following crash
==13312== Thread 18:
==13312== Invalid read of size 1
==13312== at 0x4A092F2: strlen (in /usr/lib64/
==13312== by 0x3F2D88612D: strdup (in /usr/lib64/
==13312== by 0x63324D: sst_auth_
==13312== by 0x633309: wsrep_sst_
==13312== by 0x72CCF5: sys_var:
==13312== by 0x72DD5D: set_var:
==13312== by 0x72D936: sql_set_
==13312== by 0x7D8D3B: mysql_execute_
==13312== by 0x7E0BA6: mysql_parse(THD*, char*, unsigned int, Parser_state*) (sql_parse.cc:6815)
==13312== by 0x7E01B0: wsrep_mysql_
==13312== by 0x7D251D: dispatch_
==13312== by 0x7D1039: do_command(THD*) (sql_parse.cc:1114)
==13312== by 0x79BC6B: do_handle_
==13312== by 0x79B762: handle_
==13312== by 0xAC697E: pfs_spawn_thread (pfs.cc:1860)
==13312== by 0x3F2E007F34: start_thread (in /usr/lib64/
==13312== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==13312==
Changed in codership-mysql: | |
status: | New → Confirmed |
To reproduce, just pipe the attached mysqltestcase though the mysql client (with --force) and it will crash regardless of the SQL errors that may be displayed.