git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
054ef88
)
Further fix for 6449
author
Volker Lendecke
<vl@samba.org>
Mon, 8 Jun 2009 08:05:11 +0000
(10:05 +0200)
committer
Volker Lendecke
<vl@samba.org>
Mon, 8 Jun 2009 08:08:33 +0000
(10:08 +0200)
Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting!
source3/utils/net_rap.c
patch
|
blob
|
history
diff --git
a/source3/utils/net_rap.c
b/source3/utils/net_rap.c
index 88db5122b1efb1fa329834dd5457a5aefb26ff92..a43840aac4da20ec86333416e8ec2fdb52307c5b 100644
(file)
--- 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);