diff options
author | Stefan Metzmacher <metze@samba.org> | 2020-07-08 10:15:56 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2020-07-08 15:54:40 +0000 |
commit | 36812aadbd89802b1495cb257223e0d5d2d50e9c (patch) | |
tree | 266213c51b0e0441bb186ec3bf269b7aa76ae427 /source3/smbd/smb2_sesssetup.c | |
parent | c66110cf33758ee0da035a05585195621b60a393 (diff) | |
download | samba-36812aadbd89802b1495cb257223e0d5d2d50e9c.tar.gz |
s3:smbd: avoid dereferencing client->connections
There're typically better ways to get the same information.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11897
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/smbd/smb2_sesssetup.c')
-rw-r--r-- | source3/smbd/smb2_sesssetup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/smb2_sesssetup.c b/source3/smbd/smb2_sesssetup.c index f9c8819327c..2b6b3a820d4 100644 --- a/source3/smbd/smb2_sesssetup.c +++ b/source3/smbd/smb2_sesssetup.c @@ -1436,7 +1436,7 @@ static void smbd_smb2_logoff_shutdown_done(struct tevent_req *subreq) NTSTATUS status; bool ok; const struct GUID *client_guid = - &state->smb2req->session->client->connections->smb2.client.guid; + &state->smb2req->session->client->global->client_guid; status = smb2srv_session_shutdown_recv(subreq); if (tevent_req_nterror(req, status)) { |