1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-24 21:49:29 +03:00

Fix an insufficient alloc when querying alias members.

Volker
(This used to be commit 47c36290db)
This commit is contained in:
Volker Lendecke
2003-05-24 14:52:48 +00:00
parent 8f0ece50e7
commit 169a42b249

View File

@ -4628,7 +4628,7 @@ BOOL samr_io_r_query_aliasmem(const char *desc, SAMR_R_QUERY_ALIASMEM * r_u,
}
if (UNMARSHALLING(ps)) {
r_u->sid = talloc(ps->mem_ctx, r_u->num_sids1 * sizeof(DOM_SID));
r_u->sid = talloc(ps->mem_ctx, r_u->num_sids1 * sizeof(DOM_SID2));
}
for (i = 0; i < r_u->num_sids1; i++) {