[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Thu Jun 8 16:56:02 UTC 2023


The branch, master has been updated
       via  5c52f71c0d0 smbclient: Fix fd leak with "showacls;ls"
      from  dc6edc48818 WHATSNEW.txt: Improved winbind logging and samba-log-parser

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


- Log -----------------------------------------------------------------
commit 5c52f71c0d0e162dcbf42378357313035efa860f
Author: Volker Lendecke <vl at 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 <vl at samba.org>
    Reviewed-by: Jeremy Allison <jra at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Thu Jun  8 16:55:14 UTC 2023 on atb-devel-224

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

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 8e29224918d..c4d309958cd 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



More information about the samba-cvs mailing list