mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 06:03:02 +01:00
Fixed CORE-3732: Segfault when closing attachment to database
This commit is contained in:
parent
dac0827e52
commit
30d75a117e
@ -2134,8 +2134,8 @@ static void revoke_all(Global* gbl, const UCHAR** ptr)
|
|||||||
PRIV.RDB$USER = user.c_str() AND
|
PRIV.RDB$USER = user.c_str() AND
|
||||||
PRIV.RDB$USER_TYPE = user_type
|
PRIV.RDB$USER_TYPE = user_type
|
||||||
|
|
||||||
if (!DYN_REQUEST(drq_e_grant1))
|
if (!DYN_REQUEST(drq_e_grant3))
|
||||||
DYN_REQUEST(drq_e_grant1) = request;
|
DYN_REQUEST(drq_e_grant3) = request;
|
||||||
|
|
||||||
if (revoking_user->locksmith() || revoking_as_user_name == PRIV.RDB$GRANTOR)
|
if (revoking_user->locksmith() || revoking_as_user_name == PRIV.RDB$GRANTOR)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user