mirror of
https://github.com/samba-team/samba.git
synced 2025-01-11 05:18:09 +03:00
smbd: Fix CID 1273096 Dereference before null check
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
6438339b2a
commit
246cb1961f
@ -475,7 +475,7 @@ static bool recalc_smb2_brl_timeout(struct smbd_server_connection *sconn)
|
||||
|
||||
TALLOC_FREE(sconn->smb2.locks.brl_timeout);
|
||||
|
||||
if (sconn != NULL && sconn->client != NULL) {
|
||||
if (sconn->client != NULL) {
|
||||
xconn = sconn->client->connections;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user