r2550: survive our own BASE-NEGNOWAIT torture test.
authorAndrew Bartlett <abartlet@samba.org>
Thu, 23 Sep 2004 00:27:21 +0000 (00:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:59:05 +0000 (12:59 -0500)
Andrew Bartlett
(This used to be commit a13208224921b6ad37ac5d9aeb12252f5d4aa288)

source4/smb_server/negprot.c

index e7fdc303a2c20c642742f27fa270051d45f7e771..25ab1ab4a941bb177c4fd823669517dbfb4ca28e 100644 (file)
@@ -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;