The Samba-Bugzilla – Attachment 4261 Details for
Bug 6449
net rap user add crashes without -C option
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for 3.3
0001-Further-fix-for-6449.patch (text/plain), 931 bytes, created by
Volker Lendecke
on 2009-06-08 03:09:10 UTC
(
hide
)
Description:
Patch for 3.3
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2009-06-08 03:09:10 UTC
Size:
931 bytes
patch
obsolete
>From 687cea1e2352ae427927a269bde7a67aad466377 Mon Sep 17 00:00:00 2001 >From: Volker Lendecke <vl@samba.org> >Date: Mon, 8 Jun 2009 10:05:11 +0200 >Subject: [PATCH] Further fix for 6449 > >Thanks to TAKAHASHI Motonobu <monyo@samba.gr.jp> for reporting! >--- > source/utils/net_rap.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > >diff --git a/source/utils/net_rap.c b/source/utils/net_rap.c >index 573f18d..c04b079 100644 >--- a/source/utils/net_rap.c >+++ b/source/utils/net_rap.c >@@ -962,7 +962,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); >-- >1.5.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 6449
:
4255
|
4258
|
4259
|
4260
| 4261