[SCM] Samba Shared Repository - branch v3-2-test updated - release-3-2-0pre2-3137-gd546241

Jeremy Allison jra at samba.org
Tue Nov 11 22:39:17 GMT 2008


The branch, v3-2-test has been updated
       via  d54624159adc91f82f46e0635d59fc7d858db48f (commit)
      from  5a58a4f2b689571c52c90d04c969fe3c56551c5c (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit d54624159adc91f82f46e0635d59fc7d858db48f
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Nov 11 14:38:36 2008 -0800

    Fix bug 5891] : smbd crashed when viewing the eventlog exported by "eventlog list"
    Don't mix TALLOC and SAFE_FREE().
    Jeremy.

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

Summary of changes:
 source/rpc_server/srv_eventlog_nt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/rpc_server/srv_eventlog_nt.c b/source/rpc_server/srv_eventlog_nt.c
index 0e2bcf4..22c836d 100644
--- a/source/rpc_server/srv_eventlog_nt.c
+++ b/source/rpc_server/srv_eventlog_nt.c
@@ -80,7 +80,7 @@ static bool elog_check_access( EVENTLOG_INFO *info, NT_USER_TOKEN *token )
 	/* get the security descriptor for the file */
 	
 	sec_desc = get_nt_acl_no_snum( info, tdbname );
-	SAFE_FREE( tdbname );
+	TALLOC_FREE( tdbname );
 	
 	if ( !sec_desc ) {
 		DEBUG(5,("elog_check_access: Unable to get NT ACL for %s\n", 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list