]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: prepare for correct error handling for callers of unpack_canon_ace()
authorRalph Boehme <slow@samba.org>
Mon, 8 Jun 2026 12:11:33 +0000 (14:11 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 26 Jun 2026 11:46:42 +0000 (11:46 +0000)
BUG: https://bugzilla.samba.org/show_bug.cgi?id=16097

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/posix_acls.c

index 00ec9960023e3a4ad136b9128846ed4503571436..9baf3a72c30f74f8ed93ca69ac94bdd2f7bd782b 100644 (file)
@@ -2421,7 +2421,7 @@ static bool unpack_canon_ace(files_struct *fsp,
 
        if(security_info_sent == 0) {
                DEBUG(0,("unpack_canon_ace: no security info sent !\n"));
-               return False;
+               return True;
        }
 
        /*