summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-05-24 14:53:15 +0000
committerVolker Lendecke <vlendec@samba.org>2003-05-24 14:53:15 +0000
commit42954dc0847091a14c8b814c924186cd9ba1b296 (patch)
tree45720b16b47d92ff2e63f3c683b5789efa2216b9 /source3/rpc_parse
parent5c0586f488f65f5c55f86ab9debdab1ec8eb5c57 (diff)
downloadsamba-42954dc0847091a14c8b814c924186cd9ba1b296.tar.gz
samba-42954dc0847091a14c8b814c924186cd9ba1b296.tar.bz2
samba-42954dc0847091a14c8b814c924186cd9ba1b296.zip
Fix an insufficient alloc when querying alias members.
Volker (This used to be commit 9d2d570caa4dad194534249cd5e4dc4984b4002e)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_samr.c2
1 files changed, 1 insertions, 1 deletions
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++) {