diff options
author | Günther Deschner <gd@samba.org> | 2009-04-09 13:25:21 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-04-09 14:41:36 +0200 |
commit | 0ee3c433c84cd740960216535f181b59bedbd374 (patch) | |
tree | 64c4af70edc89906a0d2b1bc7ef5f9b1be5793b7 /librpc/gen_ndr/srv_svcctl.c | |
parent | f0d045be4fbbdc1cd3d76281b0cc3c2fc36e20de (diff) | |
download | samba-0ee3c433c84cd740960216535f181b59bedbd374.tar.gz samba-0ee3c433c84cd740960216535f181b59bedbd374.tar.bz2 samba-0ee3c433c84cd740960216535f181b59bedbd374.zip |
s3: re-run make samba3-idl.
Guenther
Diffstat (limited to 'librpc/gen_ndr/srv_svcctl.c')
-rw-r--r-- | librpc/gen_ndr/srv_svcctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/librpc/gen_ndr/srv_svcctl.c b/librpc/gen_ndr/srv_svcctl.c index 3d80472313..cd5a0eec65 100644 --- a/librpc/gen_ndr/srv_svcctl.c +++ b/librpc/gen_ndr/srv_svcctl.c @@ -353,7 +353,7 @@ static bool api_svcctl_QueryServiceObjectSecurity(pipes_struct *p) } ZERO_STRUCT(r->out); - r->out.buffer = talloc_zero_array(r, uint8_t, r->in.buffer_size); + r->out.buffer = talloc_zero_array(r, uint8_t, r->in.offered); if (r->out.buffer == NULL) { talloc_free(r); return false; @@ -3658,7 +3658,7 @@ NTSTATUS rpc_svcctl_dispatch(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, c case NDR_SVCCTL_QUERYSERVICEOBJECTSECURITY: { struct svcctl_QueryServiceObjectSecurity *r = (struct svcctl_QueryServiceObjectSecurity *)_r; ZERO_STRUCT(r->out); - r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.buffer_size); + r->out.buffer = talloc_zero_array(mem_ctx, uint8_t, r->in.offered); if (r->out.buffer == NULL) { return NT_STATUS_NO_MEMORY; } |