mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:43:03 +01:00
Backported fix for CORE-2928: Buffer overflow in gsec
This commit is contained in:
parent
eb7abe4939
commit
522fa7fd9a
@ -371,7 +371,7 @@ SSHORT SECURITY_exec_line(ISC_STATUS* isc_status,
|
||||
*(io_user_data->sys_user_name) = '\0';
|
||||
strcpy(io_user_data->user_name, U.USER_NAME);
|
||||
strcpy(io_user_data->group_name, U.GROUP_NAME);
|
||||
strcpy(io_user_data->password, U.PASSWD);
|
||||
io_user_data->password[0] = 0;
|
||||
strcpy(io_user_data->first_name, U.FIRST_NAME);
|
||||
strcpy(io_user_data->middle_name, U.MIDDLE_NAME);
|
||||
strcpy(io_user_data->last_name, U.LAST_NAME);
|
||||
@ -401,7 +401,7 @@ SSHORT SECURITY_exec_line(ISC_STATUS* isc_status,
|
||||
*(io_user_data->sys_user_name) = '\0';
|
||||
strcpy(io_user_data->user_name, U.USER_NAME);
|
||||
strcpy(io_user_data->group_name, U.GROUP_NAME);
|
||||
strcpy(io_user_data->password, U.PASSWD);
|
||||
io_user_data->password[0] = 0;
|
||||
strcpy(io_user_data->first_name, U.FIRST_NAME);
|
||||
strcpy(io_user_data->middle_name, U.MIDDLE_NAME);
|
||||
strcpy(io_user_data->last_name, U.LAST_NAME);
|
||||
|
Loading…
Reference in New Issue
Block a user