mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
iinit_samr_q_lookup_rids() didn't actually copy the rids into the
parse structure.
(This used to be commit 139e767e78
)
This commit is contained in:
parent
4009e89f01
commit
706a1188c5
@ -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]));
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user