s3:rpc_server/svcctl: don't allocate return values on a temporary stackframe
commit7008fc0028993e98b335cf8533481073a5bd82df
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Jun 2011 06:33:09 +0000 (16 08:33 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 28 Jun 2011 18:40:37 +0000 (28 20:40 +0200)
tree01795846a9abbe5f4473a8030685fe0393846896
parent863548647dabca2c9706fbc48b4ae72277fc8c11
s3:rpc_server/svcctl: don't allocate return values on a temporary stackframe

And always initialize the whole return structure.

This caused samba3.posix_s3.rpc.svcctl to be flakey.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jun 16 11:34:34 CEST 2011 on sn-devel-104
(cherry picked from commit 48de3e51eacbd1051f79dc99aaac8a4ec988fde5)
source3/rpc_server/svcctl/srv_svcctl_nt.c