summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-09-23 00:27:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:05 -0500
commit0d2b17666af1f70dce455d61442afec854527ab4 (patch)
tree5db7ef52920b15fd45406b9234fd139ae109bd11
parentccdf4e045f6275c58fbb9001119f2b4abf7845bf (diff)
downloadsamba-0d2b17666af1f70dce455d61442afec854527ab4.tar.gz
samba-0d2b17666af1f70dce455d61442afec854527ab4.tar.bz2
samba-0d2b17666af1f70dce455d61442afec854527ab4.zip
r2550: survive our own BASE-NEGNOWAIT torture test.
Andrew Bartlett (This used to be commit a13208224921b6ad37ac5d9aeb12252f5d4aa288)
-rw-r--r--source4/smb_server/negprot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/smb_server/negprot.c b/source4/smb_server/negprot.c
index e7fdc303a2..25ab1ab4a9 100644
--- a/source4/smb_server/negprot.c
+++ b/source4/smb_server/negprot.c
@@ -455,6 +455,7 @@ void reply_negprot(struct smbsrv_request *req)
if (req->smb_conn->negotiate.done_negprot) {
smbsrv_terminate_connection(req->smb_conn, "multiple negprot's are not permitted");
+ return;
}
req->smb_conn->negotiate.done_negprot = True;