[SCM] Samba Shared Repository - branch master updated

Jim McDonough jmcd at samba.org
Tue Apr 9 12:28:02 MDT 2013

The branch, master has been updated
       via  28da1af winbindd: Avoid a fd leak when we can not fork
      from  f61ee72 pylibsmb: Avoid a segfault if no credentials are passed to libsmb.Conn()


- Log -----------------------------------------------------------------
commit 28da1af476853e6b49765bd04a496163e8ebd448
Author: Volker Lendecke <vl at samba.org>
Date:   Tue Apr 9 16:37:29 2013 +0200

    winbindd: Avoid a fd leak when we can not fork
    Signed-off-by: Volker Lendecke <vl at samba.org>
    Signed-off-by: Jim McDonough <jmcd at samba.org>
    Autobuild-User(master): Jim McDonough <jmcd at samba.org>
    Autobuild-Date(master): Tue Apr  9 20:27:27 CEST 2013 on sn-devel-104


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

Changeset truncated at 500 lines:

diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c
index e1e45d4..34896d5 100644
--- a/source3/winbindd/winbindd_dual.c
+++ b/source3/winbindd/winbindd_dual.c
@@ -1398,6 +1398,8 @@ static bool fork_domain_child(struct winbindd_child *child)
 	if (child->pid == -1) {
 		DEBUG(0, ("Could not fork: %s\n", strerror(errno)));
+		close(fdpair[0]);
+		close(fdpair[1]);
 		return False;

Samba Shared Repository

More information about the samba-cvs mailing list