r4308: [out,ref] pointer needs to set (don't corrupt the stack and segfault)
authorStefan Metzmacher <metze@samba.org>
Tue, 21 Dec 2004 09:33:12 +0000 (09:33 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:07:32 +0000 (13:07 -0500)
metze

PS: <tridge> "silly tridge forgot a out [ref] var" :-)
(This used to be commit a46c68a80001f5fe9d37cc4ce374071b6fe63076)

source4/torture/rpc/lsa.c

index 9fe6541dabc4e7a2a878ac75aeea3e27ccd431f0..fd672699772eb7ac66356eb58359efe99f696208 100644 (file)
@@ -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)) {