From 42954dc0847091a14c8b814c924186cd9ba1b296 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 24 May 2003 14:53:15 +0000 Subject: Fix an insufficient alloc when querying alias members. Volker (This used to be commit 9d2d570caa4dad194534249cd5e4dc4984b4002e) --- source3/rpc_parse/parse_samr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c index 222af57e5b..ac1e9da61b 100644 --- a/source3/rpc_parse/parse_samr.c +++ b/source3/rpc_parse/parse_samr.c @@ -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++) { -- cgit