mirror of
https://github.com/samba-team/samba.git
synced 2025-01-10 01:18:15 +03:00
r4492: r.in.info is a pointer that needs to be allocated before use
(This used to be commit f830adc54a
)
This commit is contained in:
parent
160ff29bc4
commit
6f5fc8890c
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user