mirror of
https://github.com/samba-team/samba.git
synced 2025-03-05 20:58:40 +03:00
smbd: Fix a panic when a smb2 brlock times out
Found by Peter Somogyi. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Dec 5 21:21:35 CET 2013 on sn-devel-104
This commit is contained in:
parent
48f426b22d
commit
c1b7cf5481
@ -511,7 +511,7 @@ static bool recalc_smb2_brl_timeout(struct smbd_server_connection *sconn)
|
||||
NULL,
|
||||
next_timeout,
|
||||
brl_timeout_fn,
|
||||
NULL);
|
||||
sconn);
|
||||
if (!sconn->smb2.locks.brl_timeout) {
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user