mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Fixed CORE-4058
This commit is contained in:
parent
bdfaa69ba6
commit
af11f55815
@ -1252,7 +1252,7 @@ static bool accept_connection(rem_port* port, const P_CNCT* cnct)
|
||||
case CNCT_group:
|
||||
{
|
||||
const size_t length = id.getClumpLength();
|
||||
if (length != 0)
|
||||
if (length <= sizeof(eff_gid) && length > 0)
|
||||
{
|
||||
eff_gid = 0;
|
||||
memcpy(&eff_gid, id.getBytes(), length);
|
||||
|
Loading…
Reference in New Issue
Block a user