summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-09-17 21:11:23 +0200
committerStefan Metzmacher <metze@samba.org>2011-09-18 05:33:10 +0200
commit270e88f4ff72ce1bd8dcd5e653df43d516951837 (patch)
treeda69da2afff342da77c3af6c0ca7e539df3946b7 /source3/libsmb
parent2bb17dc23ebbd0b89d39d6d827ed073b8bf2c65d (diff)
downloadsamba-270e88f4ff72ce1bd8dcd5e653df43d516951837.tar.gz
samba-270e88f4ff72ce1bd8dcd5e653df43d516951837.tar.bz2
samba-270e88f4ff72ce1bd8dcd5e653df43d516951837.zip
s3:smb2cli: initialize status if we got an unexpected response
metze
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/smb2cli_base.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c
index 5089aa9469..94c518fe3a 100644
--- a/source3/libsmb/smb2cli_base.c
+++ b/source3/libsmb/smb2cli_base.c
@@ -559,6 +559,7 @@ static void smb2cli_inbuf_received(struct tevent_req *subreq)
* We need to close the connection and notify
* all pending requests.
*/
+ status = NT_STATUS_INVALID_NETWORK_RESPONSE;
smb2cli_notify_pending(cli, status);
TALLOC_FREE(frame);
return;