git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
160ff29
)
r4492: r.in.info is a pointer that needs to be allocated before use
author
Andrew Tridgell
<tridge@samba.org>
Sun, 2 Jan 2005 23:44:08 +0000
(23:44 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:08:12 +0000
(13:08 -0500)
(This used to be commit
f830adc54ada7f38f964a6ccb5270d2791325dd5
)
source4/torture/rpc/samr.c
patch
|
blob
|
history
diff --git
a/source4/torture/rpc/samr.c
b/source4/torture/rpc/samr.c
index ae62f94cb00ae5a88d5e38d988eb6366a8c00dce..ea645d72d49d5e25c3813b93d52b88e8f050b758 100644
(file)
--- 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.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,
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,