mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 20:43:03 +01:00
fixed illegal error reporting - warning about too long password is a victim
This commit is contained in:
parent
cd295b9c83
commit
9b62e7fb13
@ -647,10 +647,10 @@ static bool get_switches(
|
||||
case IN_SW_GSEC_PASSWORD:
|
||||
for (l = 0; l < 9 && string[l] && string[l] != ' '; l++)
|
||||
user_data->password[l] = string[l];
|
||||
if (l == 9) {
|
||||
/* if (l == 9) {
|
||||
GSEC_print(GsecMsg77, NULL, NULL, NULL, NULL, NULL);
|
||||
/* warning password maximum 8 significant bytes used */
|
||||
}
|
||||
// warning password maximum 8 significant bytes used
|
||||
} */
|
||||
user_data->password[l] = '\0';
|
||||
user_data->password_entered = true;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user