summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-12-21 09:33:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:32 -0500
commite67b4392646ec623bd613d6e73b7494ddd0d251f (patch)
treec6bfb9b2bb7591a3671597fa085fd617b8dfb4be
parent8d3d7534f24e3d260ad49a7d1bc359d813675ae8 (diff)
downloadsamba-e67b4392646ec623bd613d6e73b7494ddd0d251f.tar.gz
samba-e67b4392646ec623bd613d6e73b7494ddd0d251f.tar.bz2
samba-e67b4392646ec623bd613d6e73b7494ddd0d251f.zip
r4308: [out,ref] pointer needs to set (don't corrupt the stack and segfault)
metze PS: <tridge> "silly tridge forgot a out [ref] var" :-) (This used to be commit a46c68a80001f5fe9d37cc4ce374071b6fe63076)
-rw-r--r--source4/torture/rpc/lsa.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index 9fe6541dab..fd67269977 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -324,9 +324,11 @@ static BOOL test_LookupPrivValue(struct dcerpc_pipe *p,
{
NTSTATUS status;
struct lsa_LookupPrivValue r;
+ struct lsa_LUID luid;
r.in.handle = handle;
r.in.name = name;
+ r.out.luid = &luid;
status = dcerpc_lsa_LookupPrivValue(p, mem_ctx, &r);
if (!NT_STATUS_IS_OK(status)) {