r17256: fix 2 crash bugs, which are introduced by making parameters
authorStefan Metzmacher <metze@samba.org>
Wed, 26 Jul 2006 12:25:16 +0000 (12:25 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:10:24 +0000 (14:10 -0500)
commite72786ec24691d8b62bd7b28f30187cdcba4a799
treeeab9c7b9d10d70da1a1af3ce3ef4359e2097ad01
parentbbc185729bfc96d00705200c4e0cc37c341eeb19
r17256: fix 2 crash bugs, which are introduced by making parameters
ref pointers!

I'm sure there're more places and more care is needed when idl files
are changed. Hopefully testing against windows in the build farm
find such bugs in future...

Why is in the client library this no more possible:

NTSTATUS foo([in,out,ref] uint8 *foo);

and then just

r.in.foo = &foo;
status = dcerpc_foo(p, mem_ctx, &r);

and r.out.foo will set to r.in.foo via pidl magic,
that worked some time ago...

metze
(This used to be commit d8952f00c77ba59e0806b0de802ac28ac977779c)
source4/torture/rpc/wkssvc.c