1
0
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:
Volker Lendecke 2015-06-23 12:02:06 +02:00 committed by Jeremy Allison
parent 6438339b2a
commit 246cb1961f

View File

@ -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;
}