[PATCH] vfs_fruit: Fix a talloc hierarchy error

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed Jan 7 03:48:57 MST 2015


Hi!

Review&push appreciated!

Thanks,

Volker

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
-------------- next part --------------
From 9b2fdb9b3f4065e270048bf13d463574c508b09a Mon Sep 17 00:00:00 2001
From: Volker Lendecke <vl at samba.org>
Date: Tue, 6 Jan 2015 15:55:15 +0000
Subject: [PATCH] vfs_fruit: Fix a talloc hierarchy error

Signed-off-by: Volker Lendecke <vl at samba.org>
---
 source3/modules/vfs_fruit.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source3/modules/vfs_fruit.c b/source3/modules/vfs_fruit.c
index ecaddfb..913f26a 100644
--- a/source3/modules/vfs_fruit.c
+++ b/source3/modules/vfs_fruit.c
@@ -2934,7 +2934,7 @@ exit:
 		   smb_fname_str_dbg(fsp->fsp_name),
 		   (ssize_t)sbuf->st_ex_size));
 	if (tmp_base_name) {
-		fsp->base_fsp->fsp_name->base_name = tmp_base_name;
+		fsp->fsp_name->base_name = tmp_base_name;
 	}
 	TALLOC_FREE(name);
 	return rc;
-- 
1.7.9.5



More information about the samba-technical mailing list