[SCM] Samba Shared Repository - branch master updated

Jeremy Allison jra at samba.org
Tue May 26 21:36:03 UTC 2020


The branch, master has been updated
       via  7754a557d49 s3: VFS: cap. Fixup mistake using the wrong parameter to capencode.
      from  c40e354fe1f libgpo: Remove unused code

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


- Log -----------------------------------------------------------------
commit 7754a557d493f0c2af9420c8fa99fb8c2d9ac70c
Author: Jeremy Allison <jra at samba.org>
Date:   Tue May 26 11:34:08 2020 -0700

    s3: VFS: cap. Fixup mistake using the wrong parameter to capencode.
    
    Caught by Coverity.
    
    Signed-off-by: Jeremy Allison <jra at samba.org>
    Reviewed-by: Ralph Böhme <slow at samba.org>
    
    Autobuild-User(master): Jeremy Allison <jra at samba.org>
    Autobuild-Date(master): Tue May 26 21:35:55 UTC 2020 on sn-devel-184

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

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


Changeset truncated at 500 lines:

diff --git a/source3/modules/vfs_cap.c b/source3/modules/vfs_cap.c
index c713d30301e..17ebb786822 100644
--- a/source3/modules/vfs_cap.c
+++ b/source3/modules/vfs_cap.c
@@ -159,7 +159,7 @@ static int cap_openat(vfs_handle_struct *handle,
 	int ret;
 	int saved_errno = 0;
 
-	cappath = capencode(talloc_tos(), smb_fname->base_name);
+	cappath = capencode(talloc_tos(), smb_fname_in->base_name);
 	if (cappath == NULL) {
 		errno = ENOMEM;
 		return -1;


-- 
Samba Shared Repository



More information about the samba-cvs mailing list