]>
Commit | Line | Data |
---|---|---|
72679059 | 1 | --- mysql-4.0.14/sql/sql_acl.cc.orig Thu Sep 11 06:59:14 2003 |
2 | +++ mysql-4.0.14/sql/sql_acl.cc Thu Sep 11 06:59:42 2003 | |
3 | @@ -233,7 +233,7 @@ | |
4 | "Found old style password for user '%s'. Ignoring user. (You may want to restart mysqld using --old-protocol)", | |
5 | user.user ? user.user : ""); /* purecov: tested */ | |
6 | } | |
7 | - else if (length % 8) // This holds true for passwords | |
8 | + else if (length % 8 || length > 16) // This holds true for passwords | |
9 | { | |
10 | sql_print_error( | |
11 | "Found invalid password for user: '%s@%s'; Ignoring user", |