summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-01-02 23:44:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:12 -0500
commit6f5fc8890cf2820f7549479da670384644ead190 (patch)
tree5a33c7d56513ac5734d18dcd720aeeb7eba13abd /source4/torture/rpc
parent160ff29bc4dae379fa00574b133316225670de58 (diff)
downloadsamba-6f5fc8890cf2820f7549479da670384644ead190.tar.gz
samba-6f5fc8890cf2820f7549479da670384644ead190.tar.bz2
samba-6f5fc8890cf2820f7549479da670384644ead190.zip
r4492: r.in.info is a pointer that needs to be allocated before use
(This used to be commit f830adc54ada7f38f964a6ccb5270d2791325dd5)
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/samr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c
index ae62f94cb0..ea645d72d4 100644
--- a/source4/torture/rpc/samr.c
+++ b/source4/torture/rpc/samr.c
@@ -629,6 +629,7 @@ static BOOL test_SetAliasInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.in.alias_handle = handle;
r.in.level = levels[i];
+ r.in.info = talloc_p(mem_ctx, union samr_AliasInfo);
switch (r.in.level) {
case 2 : init_samr_String(&r.in.info->name,TEST_ALIASNAME); break;
case 3 : init_samr_String(&r.in.info->description,