[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha7-2121-gb5ac106

Volker Lendecke vlendec at samba.org
Mon Jun 8 08:07:11 GMT 2009


The branch, master has been updated
       via  b5ac1068d13ffc83369d8dc7637a4c482d2815dc (commit)
      from  054ef88b036cd1601ac658f004bc9889a302f119 (commit)

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


- Log -----------------------------------------------------------------
commit b5ac1068d13ffc83369d8dc7637a4c482d2815dc
Author: Volker Lendecke <vl at samba.org>
Date:   Mon Jun 8 10:05:11 2009 +0200

    Further fix for 6449
    
    Thanks to TAKAHASHI Motonobu <monyo at samba.gr.jp> for reporting!

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

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


Changeset truncated at 500 lines:

diff --git a/source3/utils/net_rap.c b/source3/utils/net_rap.c
index 88db512..a43840a 100644
--- a/source3/utils/net_rap.c
+++ b/source3/utils/net_rap.c
@@ -963,7 +963,7 @@ static int rap_group_add(struct net_context *c, int argc, const char **argv)
 	/* BB check for length 21 or smaller explicitly ? BB */
 	safe_strcpy(grinfo.group_name, argv[0], sizeof(grinfo.group_name)-1);
 	grinfo.reserved1 = '\0';
-	grinfo.comment = smb_xstrdup(c->opt_comment);
+	grinfo.comment = smb_xstrdup(c->opt_comment ? c->opt_comment : "");
 
 	ret = cli_NetGroupAdd(cli, &grinfo);
 	cli_shutdown(cli);


-- 
Samba Shared Repository


More information about the samba-cvs mailing list