[SCM] Samba Shared Repository - branch master updated

Günther Deschner gd at samba.org
Thu Aug 4 11:07:03 MDT 2011


The branch, master has been updated
       via  a7438cc s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds().
      from  d3b4d75 s3/swat: use strlcat instead of strncat to fix build on old Linux distros

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


- Log -----------------------------------------------------------------
commit a7438cce4e99761303aca0ef1bc65ca2cdf2bb98
Author: Günther Deschner <gd at samba.org>
Date:   Thu Aug 4 17:32:22 2011 +0200

    s3-nmbd: fix talloc/malloc mismatch in create_listen_pollfds().
    
    Guenther
    
    Autobuild-User: Günther Deschner <gd at samba.org>
    Autobuild-Date: Thu Aug  4 19:06:39 CEST 2011 on sn-devel-104

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

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


Changeset truncated at 500 lines:

diff --git a/source3/nmbd/nmbd_packets.c b/source3/nmbd/nmbd_packets.c
index 0324c9d..c7ecfc6 100644
--- a/source3/nmbd/nmbd_packets.c
+++ b/source3/nmbd/nmbd_packets.c
@@ -1723,7 +1723,7 @@ static bool create_listen_pollfds(struct pollfd **pfds,
 	if (fds == NULL) {
 		DEBUG(1, ("create_listen_pollfds: malloc fail for attrs. "
 			  "size %d\n", count));
-		SAFE_FREE(fds);
+		TALLOC_FREE(fds);
 		return true;
 	}
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list