The branch, master has been updated
       via  617018257b5 vfs_fruit: Fix 63f0b59cbed
      from  6cd9849b58e lib:util: Fix stack-use-after-return in 
crypt_as_best_we_can()

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


- Log -----------------------------------------------------------------
commit 617018257b59035ad9b6ce60e21e06b79df6b1dc
Author: Volker Lendecke <[email protected]>
Date:   Sun Jan 19 17:27:56 2025 +0100

    vfs_fruit: Fix 63f0b59cbed
    
    After 30 years of coding C, pointers and macros are still error-prone :-(
    
    Signed-off-by: Volker Lendecke <[email protected]>
    Reviewed-by: Anoop C S <[email protected]>
    
    Autobuild-User(master): Anoop C S <[email protected]>
    Autobuild-Date(master): Mon Jan 20 08:00:24 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 39deb16105d..76ab0f8009d 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -424,7 +424,7 @@ static void filter_empty_rsrc_stream(unsigned int 
*num_streams,
                if (strequal_m(s->name, AFPRESOURCE_STREAM) &&
                    (s->size == 0)) {
                        TALLOC_FREE(s->name);
-                       ARRAY_DEL_ELEMENT(streams, i, *num_streams);
+                       ARRAY_DEL_ELEMENT((*streams), i, *num_streams);
                        *num_streams -= 1;
                        return;
                }


-- 
Samba Shared Repository

Reply via email to