[SCM] Samba Shared Repository - branch master updated -
f4e760faf96cd49d0491981d48a7ced96564ee40
Volker Lendecke
vlendec at samba.org
Wed Oct 22 12:27:55 GMT 2008
The branch, master has been updated
via f4e760faf96cd49d0491981d48a7ced96564ee40 (commit)
from 1d9ea911e39b4619a0857171a3362bc2ff40bf96 (commit)
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master
- Log -----------------------------------------------------------------
commit f4e760faf96cd49d0491981d48a7ced96564ee40
Author: Volker Lendecke <vl at samba.org>
Date: Wed Oct 22 14:26:05 2008 +0200
Fix bug 5840: Segfault in "rpcclient lsaaddacctrights"
-----------------------------------------------------------------------
Summary of changes:
source3/rpcclient/cmd_lsarpc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c
index aa8662c..6424f1b 100644
--- a/source3/rpcclient/cmd_lsarpc.c
+++ b/source3/rpcclient/cmd_lsarpc.c
@@ -789,7 +789,7 @@ static NTSTATUS cmd_lsa_add_acct_rights(struct rpc_pipe_client *cli,
return NT_STATUS_NO_MEMORY;
}
- for (i=0; i<argc-1; i++) {
+ for (i=0; i<argc-2; i++) {
init_lsa_StringLarge(&rights.names[i], argv[i+2]);
}
--
Samba Shared Repository
More information about the samba-cvs
mailing list