[SCM] Samba Shared Repository - branch master updated

Michael Adam obnox at samba.org
Thu Feb 18 16:38:43 MST 2010


The branch, master has been updated
       via  1a42b02... nss_wrapper: fix segfault in print_group() in the testsuite
      from  11a87cd... More fixes for bug #7146 - Samba miss-parses authenticated RPC packets.

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


- Log -----------------------------------------------------------------
commit 1a42b020fd8fdd96fa7433f3bb7589167040719a
Author: Michael Adam <obnox at samba.org>
Date:   Fri Feb 19 00:33:45 2010 +0100

    nss_wrapper: fix segfault in print_group() in the testsuite
    
    Running
    'TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMR-LARGE-DC LOCAL-NSS-WRAPPER" make test'
    from s3 made smbtorture4 crash on my box.
    
    Michael

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

Summary of changes:
 lib/nss_wrapper/testsuite.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/lib/nss_wrapper/testsuite.c b/lib/nss_wrapper/testsuite.c
index d6b4839..da1a267 100644
--- a/lib/nss_wrapper/testsuite.c
+++ b/lib/nss_wrapper/testsuite.c
@@ -175,7 +175,7 @@ static void print_group(struct group *grp)
 	       grp->gr_passwd,
 	       (unsigned long)grp->gr_gid);
 
-	if (!grp->gr_mem[0]) {
+	if ((grp->gr_mem == NULL) || !grp->gr_mem[0]) {
 		printf("\n");
 		return;
 	}


-- 
Samba Shared Repository


More information about the samba-cvs mailing list