summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2019-09-20 08:37:28 -0700
committerJeremy Allison <jra@samba.org>2019-09-23 17:06:24 +0000
commitc7e6db97de967e902529fa9e902cdcdf2a159403 (patch)
treef4e6bcce51f59aa0d553ad059e09ef8c3bec19a6 /source3/smbd
parent465e518d6cc200eefa38643e720ce64e53abac2e (diff)
downloadsamba-c7e6db97de967e902529fa9e902cdcdf2a159403.tar.gz
smbd: Add an error return END_PROFILE call
All other return; statements in reply_tcon_and_X have this 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): Mon Sep 23 17:06:25 UTC 2019 on sn-devel-184
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/reply.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index dcd46dd574c..14019bda9a4 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -1048,6 +1048,7 @@ void reply_tcon_and_X(struct smb_request *req)
if (!NT_STATUS_IS_OK(status)) {
DBG_ERR("smb_key_derivation failed: %s\n",
nt_errstr(status));
+ END_PROFILE(SMBtconX);
return;
}
optional_support |= SMB_EXTENDED_SIGNATURES;