]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Add missing 'return;'s in exit paths in reply_exit_done().
authorJeremy Allison <jra@samba.org>
Fri, 11 Aug 2023 22:19:01 +0000 (15:19 -0700)
committerNoel Power <npower@samba.org>
Mon, 14 Aug 2023 19:52:49 +0000 (19:52 +0000)
Remove knownfail.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15430

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Noel Power <npower@samba.org>
Autobuild-User(master): Noel Power <npower@samba.org>
Autobuild-Date(master): Mon Aug 14 19:52:49 UTC 2023 on atb-devel-224

selftest/knownfail.d/smb1_negotiate_exit [deleted file]
source3/smbd/smb1_reply.c

diff --git a/selftest/knownfail.d/smb1_negotiate_exit b/selftest/knownfail.d/smb1_negotiate_exit
deleted file mode 100644 (file)
index 8fd9d74..0000000
+++ /dev/null
@@ -1 +0,0 @@
-^samba3.smbtorture_s3.smb1.SMB1-NEGOTIATE-EXIT.smbtorture\(fileserver_smb1\)
index 8139436aa3872f27e2a9c414f4a75c1518d521db..f685be8016e5a331ed59b9909286f1863377c2b7 100644 (file)
@@ -5005,6 +5005,7 @@ static void reply_exit_done(struct tevent_req *req)
                reply_force_doserror(smb1req, ERRSRV, ERRinvnid);
                smb_request_done(smb1req);
                END_PROFILE(SMBexit);
+               return;
        }
 
        /*
@@ -5044,6 +5045,7 @@ static void reply_exit_done(struct tevent_req *req)
                        reply_force_doserror(smb1req, ERRSRV, ERRinvnid);
                        smb_request_done(smb1req);
                        END_PROFILE(SMBexit);
+                       return;
                }
                close_file_free(NULL, &fsp, SHUTDOWN_CLOSE);
        }