diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-05-24 14:53:15 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-05-24 14:53:15 +0000 |
commit | 42954dc0847091a14c8b814c924186cd9ba1b296 (patch) | |
tree | 45720b16b47d92ff2e63f3c683b5789efa2216b9 | |
parent | 5c0586f488f65f5c55f86ab9debdab1ec8eb5c57 (diff) | |
download | samba-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)
-rw-r--r-- | source3/rpc_parse/parse_samr.c | 2 |
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++) { |