The branch, master has been updated
       via  0de67cf0748 vfs_fruit: psd->dacl can be NULL, use orig_num_aces
      from  6c3ee9747a4 vfs:streams_xattr: Allow VFS_OPEN_HOW_RESOLVE_NO_XDEV

https://git.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 0de67cf0748139920006a4dd65cb77c874c3595f
Author: Ralph Boehme <[email protected]>
Date:   Fri Nov 14 14:55:12 2025 +0100

    vfs_fruit: psd->dacl can be NULL, use orig_num_aces
    
    BUG: https://bugzilla.samba.org/show_bug.cgi?id=15926
    
    Signed-off-by: Ralph Boehme <[email protected]>
    Reviewed-by: Volker Lendecke <[email protected]>
    
    Autobuild-User(master): Volker Lendecke <[email protected]>
    Autobuild-Date(master): Tue Nov 18 10:13:44 UTC 2025 on atb-devel-224

-----------------------------------------------------------------------

Summary of changes:
 source3/modules/vfs_fruit.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c
index 933e00418a9..d6c1cecbc52 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -4664,7 +4664,7 @@ static NTSTATUS fruit_fset_nt_acl(vfs_handle_struct 
*handle,
 
        DBG_DEBUG("%s\n", fsp_str_dbg(fsp));
 
-       if (config->ignore_zero_aces && (psd->dacl->num_aces == 0)) {
+       if (config->ignore_zero_aces && (orig_num_aces == 0)) {
                /*
                 * Just ignore Set-ACL requests with zero ACEs.
                 */


-- 
Samba Shared Repository

Reply via email to