[SCM] Samba Shared Repository - branch master updated - c62427c7fc7fd9c2c33faa25e931d4583bea905a

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


The branch, master has been updated
       via  c62427c7fc7fd9c2c33faa25e931d4583bea905a (commit)
      from  0baca66589d72acf7b3d6edf7c7d21fa17f98915 (commit)

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


- Log -----------------------------------------------------------------
commit c62427c7fc7fd9c2c33faa25e931d4583bea905a
Author: Jeremy Allison <jra at samba.org>
Date:   Tue Nov 11 14:38:59 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:
 source3/rpc_server/srv_eventlog_nt.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/rpc_server/srv_eventlog_nt.c b/source3/rpc_server/srv_eventlog_nt.c
index 3c7469f..eec5b1d 100644
--- a/source3/rpc_server/srv_eventlog_nt.c
+++ b/source3/rpc_server/srv_eventlog_nt.c
@@ -79,7 +79,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