git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
48f426b
)
smbd: Fix a panic when a smb2 brlock times out
author
Volker Lendecke
<vl@samba.org>
Thu, 5 Dec 2013 14:50:58 +0000
(15:50 +0100)
committer
Jeremy Allison
<jra@samba.org>
Thu, 5 Dec 2013 20:21:35 +0000
(21:21 +0100)
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
source3/smbd/smb2_lock.c
patch
|
blob
|
history
diff --git
a/source3/smbd/smb2_lock.c
b/source3/smbd/smb2_lock.c
index e2ea2512c6a2670202c3aeaad785350890b5c534..671cd6f06653f42d1bae7d23574a32dcddc68b58 100644
(file)
--- a/
source3/smbd/smb2_lock.c
+++ b/
source3/smbd/smb2_lock.c
@@
-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;
}