summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_svcctl.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-02-28 00:03:00 +0100
committerGünther Deschner <gd@samba.org>2008-02-28 00:43:30 +0100
commit179405e8e7cdbfb2e305b7c1c79c8cddcc842287 (patch)
tree05b383ea50124deab3ed53e4d84157770c443030 /source3/librpc/gen_ndr/srv_svcctl.c
parentbdd08fc8d6873908f2666c9ff278e735015cf19f (diff)
downloadsamba-179405e8e7cdbfb2e305b7c1c79c8cddcc842287.tar.gz
samba-179405e8e7cdbfb2e305b7c1c79c8cddcc842287.tar.bz2
samba-179405e8e7cdbfb2e305b7c1c79c8cddcc842287.zip
Re-run make idl.
Guenther (This used to be commit 6a84317aec9ae3fcd813390b0eec655387e036ec)
Diffstat (limited to 'source3/librpc/gen_ndr/srv_svcctl.c')
-rw-r--r--source3/librpc/gen_ndr/srv_svcctl.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_svcctl.c b/source3/librpc/gen_ndr/srv_svcctl.c
index a7163917bd..10db320452 100644
--- a/source3/librpc/gen_ndr/srv_svcctl.c
+++ b/source3/librpc/gen_ndr/srv_svcctl.c
@@ -352,6 +352,19 @@ static bool api_svcctl_QueryServiceObjectSecurity(pipes_struct *p)
NDR_PRINT_IN_DEBUG(svcctl_QueryServiceObjectSecurity, r);
}
+ ZERO_STRUCT(r->out);
+ r->out.buffer = talloc_zero_array(r, uint8_t, r->in.buffer_size);
+ if (r->out.buffer == NULL) {
+ talloc_free(r);
+ return false;
+ }
+
+ r->out.needed = talloc_zero(r, uint32_t);
+ if (r->out.needed == NULL) {
+ talloc_free(r);
+ return false;
+ }
+
r->out.result = _svcctl_QueryServiceObjectSecurity(p, r);
if (p->rng_fault_state) {