[SCM] Samba Shared Repository - branch master updated

Ralph Böhme slow at samba.org
Fri Nov 3 18:06:03 UTC 2017


The branch, master has been updated
       via  3bb854c vfs_fruit: avoid dereferencing a freed object in an error case
      from  dc3adc8 s4-smbtorture: Show that the KDC provides no protection from CVE-2017-11103

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


- Log -----------------------------------------------------------------
commit 3bb854ce90f86aa1b7e62ed824ce2f9d385cd5d4
Author: Ralph Boehme <slow at samba.org>
Date:   Fri Nov 3 14:56:43 2017 +0100

    vfs_fruit: avoid dereferencing a freed object in an error case
    
    Signed-off-by: Ralph Boehme <slow at samba.org>
    Reviewed-by: Stefan Metzmacher <metze at samba.org>
    
    Autobuild-User(master): Ralph Böhme <slow at samba.org>
    Autobuild-Date(master): Fri Nov  3 19:05:05 CET 2017 on sn-devel-144

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

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 b0dd0f0..78170e7 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -3776,11 +3776,11 @@ static int fruit_rmdir(struct vfs_handle_struct *handle,
 		TALLOC_FREE(ad);
 
 		ret = SMB_VFS_NEXT_UNLINK(handle, ad_smb_fname);
-		TALLOC_FREE(ad_smb_fname);
 		if (ret != 0) {
 			DBG_ERR("Deleting [%s] failed\n",
 				smb_fname_str_dbg(ad_smb_fname));
 		}
+		TALLOC_FREE(ad_smb_fname);
 	}
 
 exit_rmdir:


-- 
Samba Shared Repository



More information about the samba-cvs mailing list