summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-05-08 03:50:42 +0000
committerTim Potter <tpot@samba.org>2001-05-08 03:50:42 +0000
commit706a1188c52a4387a0cd875b0c9ae74dd86f103c (patch)
treea59a7eb8992252714ab295df598afe00ae3dfdf1
parent4009e89f014fe17901fad4045ba3b3b7c8086b10 (diff)
downloadsamba-706a1188c52a4387a0cd875b0c9ae74dd86f103c.tar.gz
samba-706a1188c52a4387a0cd875b0c9ae74dd86f103c.tar.bz2
samba-706a1188c52a4387a0cd875b0c9ae74dd86f103c.zip
iinit_samr_q_lookup_rids() didn't actually copy the rids into the
parse structure. (This used to be commit 139e767e78adafa4d4469d2d63415d46267f2fc9)
-rw-r--r--source3/rpc_parse/parse_samr.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index 7d8c4f2533..03226d522f 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -3675,6 +3675,8 @@ void init_samr_q_lookup_rids(TALLOC_CTX *ctx, SAMR_Q_LOOKUP_RIDS * q_u,
if (q_u->rid == NULL) {
q_u->num_rids1 = 0;
q_u->num_rids2 = 0;
+ } else {
+ memcpy(q_u->rid, rid, num_rids * sizeof(q_u->rid[0]));
}
}