From: Stefan Metzmacher Date: Tue, 21 Dec 2004 09:33:12 +0000 (+0000) Subject: r4308: [out,ref] pointer needs to set (don't corrupt the stack and segfault) X-Git-Tag: samba-4.0.0alpha6~801^3~12263 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=e67b4392646ec623bd613d6e73b7494ddd0d251f;hp=8d3d7534f24e3d260ad49a7d1bc359d813675ae8 r4308: [out,ref] pointer needs to set (don't corrupt the stack and segfault) metze PS: "silly tridge forgot a out [ref] var" :-) (This used to be commit a46c68a80001f5fe9d37cc4ce374071b6fe63076) --- diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 9fe6541dabc..fd672699772 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)) {