r4490: when implementing one rpc server call in terms of another call, you
authorAndrew Tridgell <tridge@samba.org>
Sun, 2 Jan 2005 23:31:12 +0000 (23:31 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:08:12 +0000 (13:08 -0500)
commit4db9496bb41e4c05d0c1178b56b4da4e4d486697
tree4f85789a92d73ed61cd1df0d1a8d9006ffcb9afb
parentfc275d9889b730ed0b757674abdd0d8245c81dfc
r4490: when implementing one rpc server call in terms of another call, you
must zero r.out before making the 2nd call if the 2nd call has any
non-ref out parameters. This is needed for the case where the 2nd call
fails, and the 1st call would then fill in its out fields based on
uninitialised memory.
(This used to be commit 202470326dcfaa5d36aaaf6be47eec40fed50402)
source4/rpc_server/samr/dcesrv_samr.c