diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-05-24 14:52:48 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-05-24 14:52:48 +0000 |
commit | 169a42b249bbfa39c5a2e0da15b1c3d5250a3553 (patch) | |
tree | 8072cf5f3f68b9e9f7da251729fd05cd6d8a6323 | |
parent | 8f0ece50e74e1f9495369f96d82adb7dce6c0188 (diff) | |
download | samba-169a42b249bbfa39c5a2e0da15b1c3d5250a3553.tar.gz samba-169a42b249bbfa39c5a2e0da15b1c3d5250a3553.tar.bz2 samba-169a42b249bbfa39c5a2e0da15b1c3d5250a3553.zip |
Fix an insufficient alloc when querying alias members.
Volker
(This used to be commit 47c36290db5e1f84ddf78913b3971aea04d243ab)
-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++) { |