From 139e767e78adafa4d4469d2d63415d46267f2fc9 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 8 May 2001 03:50:42 +0000 Subject: [PATCH] iinit_samr_q_lookup_rids() didn't actually copy the rids into the parse structure. --- source/rpc_parse/parse_samr.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/rpc_parse/parse_samr.c b/source/rpc_parse/parse_samr.c index 7d8c4f25333..03226d522fe 100644 --- a/source/rpc_parse/parse_samr.c +++ b/source/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])); } } -- 2.11.4.GIT