From 6f5fc8890cf2820f7549479da670384644ead190 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 2 Jan 2005 23:44:08 +0000 Subject: r4492: r.in.info is a pointer that needs to be allocated before use (This used to be commit f830adc54ada7f38f964a6ccb5270d2791325dd5) --- source4/torture/rpc/samr.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source4') 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, -- cgit