svn commit: samba r4308 - in branches/SAMBA_4_0/source/torture/rpc: .

metze at samba.org metze at samba.org
Tue Dec 21 09:33:12 GMT 2004


Author: metze
Date: 2004-12-21 09:33:12 +0000 (Tue, 21 Dec 2004)
New Revision: 4308

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4308

Log:
[out,ref] pointer needs to set (don't corrupt the stack and segfault)

metze

PS: <tridge> "silly tridge forgot a out [ref] var" :-)

Modified:
   branches/SAMBA_4_0/source/torture/rpc/lsa.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/rpc/lsa.c
===================================================================
--- branches/SAMBA_4_0/source/torture/rpc/lsa.c	2004-12-21 07:08:16 UTC (rev 4307)
+++ branches/SAMBA_4_0/source/torture/rpc/lsa.c	2004-12-21 09:33:12 UTC (rev 4308)
@@ -324,9 +324,11 @@
 {
 	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)) {



More information about the samba-cvs mailing list