[SCM] Samba Shared Repository - branch master updated

Volker Lendecke vlendec at samba.org
Fri Apr 9 06:09:47 MDT 2010


The branch, master has been updated
       via  c666b8a... s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()
      from  d3e9e83... s3: TALLOC_FREE(command) correctly in map_username()

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


- Log -----------------------------------------------------------------
commit c666b8af96fecb2bd9230a5e10f99c5d5e0a5353
Author: Volker Lendecke <vl at samba.org>
Date:   Fri Apr 9 14:09:20 2010 +0200

    s3: Use talloc_tos() as talloc ctx for fd_lines_load() in map_username()

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

Summary of changes:
 source3/smbd/map_username.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/map_username.c b/source3/smbd/map_username.c
index 38473e0..47aa54d 100644
--- a/source3/smbd/map_username.c
+++ b/source3/smbd/map_username.c
@@ -117,7 +117,7 @@ bool map_username(struct smbd_server_connection *sconn, fstring user)
 		}
 
 		numlines = 0;
-		qlines = fd_lines_load(fd, &numlines,0, NULL);
+		qlines = fd_lines_load(fd, &numlines, 0, talloc_tos());
 		DEBUGADD(10,("Lines returned = [%d]\n", numlines));
 		close(fd);
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list