The branch, v4-17-test has been updated
       via  f26b205786e smbclient: Fix fd leak with "showacls;ls"
      from  af55bfe4e99 libsmb: Fix directory listing against old servers

https://git.samba.org/?p=samba.git;a=shortlog;h=v4-17-test


- Log -----------------------------------------------------------------
commit f26b205786ea4074aae19ed21c348ec7ac275856
Author: Volker Lendecke <v...@samba.org>
Date:   Thu Jun 8 10:14:18 2023 +0200

    smbclient: Fix fd leak with "showacls;ls"
    
    Bug: https://bugzilla.samba.org/show_bug.cgi?id=15391
    
    Signed-off-by: Volker Lendecke <v...@samba.org>
    Reviewed-by: Jeremy Allison <j...@samba.org>
    
    Autobuild-User(master): Jeremy Allison <j...@samba.org>
    Autobuild-Date(master): Thu Jun  8 16:55:14 UTC 2023 on atb-devel-224
    
    (cherry picked from commit 5c52f71c0d0e162dcbf42378357313035efa860f)
    
    Autobuild-User(v4-17-test): Jule Anger <jan...@samba.org>
    Autobuild-Date(v4-17-test): Fri Jun  9 14:43:33 UTC 2023 on sn-devel-184

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

Summary of changes:
 source3/client/client.c | 1 +
 1 file changed, 1 insertion(+)


Changeset truncated at 500 lines:

diff --git a/source3/client/client.c b/source3/client/client.c
index 613fa4fd1f6..7d1ec254144 100644
--- a/source3/client/client.c
+++ b/source3/client/client.c
@@ -626,6 +626,7 @@ static NTSTATUS display_finfo(struct cli_state *cli_state, 
struct file_info *fin
                                display_sec_desc(sd);
                        }
                        TALLOC_FREE(sd);
+                       cli_close(targetcli, fnum);
                }
                TALLOC_FREE(afname);
        }


-- 
Samba Shared Repository

Reply via email to