1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00

MDEV-9851: CREATE USER w/o IDENTIFIED BY clause causes crash when using cracklib plugin

Do not allow NULL password to pass directly to password
validation plugin.
This commit is contained in:
Nirbhay Choubey
2016-04-29 10:50:39 -04:00
parent edbd0cedda
commit 1512078a7a
5 changed files with 23 additions and 1 deletions

View File

@@ -72,6 +72,8 @@ READ_ONLY NO
COMMAND_LINE_ARGUMENT REQUIRED
create user foo1 identified by 'pwd';
ERROR HY000: Your password does not satisfy the current policy requirements
create user foo1;
ERROR HY000: Your password does not satisfy the current policy requirements
grant select on *.* to foo1 identified by 'pwd';
ERROR HY000: Your password does not satisfy the current policy requirements
grant select on *.* to `FooBar1!` identified by 'FooBar1!';