mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
12 lines
346 B
Text
12 lines
346 B
Text
source include/have_debug.inc;
|
|
set @old_dbug=@@global.debug_dbug;
|
|
|
|
#
|
|
# use after free if need plugin change and auth aborted
|
|
#
|
|
set global debug_dbug='+d,auth_disconnect';
|
|
create user 'bad' identified by 'worse';
|
|
--error 1
|
|
--exec $MYSQL --default-auth=mysql_old_password --user=bad --password=worse
|
|
set global debug_dbug=@old_dbug;
|
|
drop user bad;
|