-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
20 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
set @old_dbug=@@global.debug_dbug; | ||
set global debug_dbug='+d,auth_disconnect'; | ||
create user 'bad' identified by 'worse'; | ||
set global debug_dbug=@old_dbug; | ||
drop user bad; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters