diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-17 21:11:23 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-09-18 05:33:10 +0200 |
commit | 270e88f4ff72ce1bd8dcd5e653df43d516951837 (patch) | |
tree | da69da2afff342da77c3af6c0ca7e539df3946b7 /source3/libsmb | |
parent | 2bb17dc23ebbd0b89d39d6d827ed073b8bf2c65d (diff) | |
download | samba-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.c | 1 |
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; |