diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-06-16 12:34:42 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-06-16 12:40:14 +0200 |
commit | 11683ccf3e68606ecb1cdfa455f7921b119803c6 (patch) | |
tree | 1727813f6e3a067d43ee05f452aad1eb9347b7ac /swat | |
parent | 48de3e51eacbd1051f79dc99aaac8a4ec988fde5 (diff) | |
download | samba-11683ccf3e68606ecb1cdfa455f7921b119803c6.tar.gz samba-11683ccf3e68606ecb1cdfa455f7921b119803c6.tar.bz2 samba-11683ccf3e68606ecb1cdfa455f7921b119803c6.zip |
s3:rpc_server/svcctl: fix valgrind bugs in _svcctl_QueryServiceConfig2W()
r->out.buffer needs to stay in its size, as it will be marshalled completely.
As it's preallocated and initialized with zeros, we just need to copy
the payload into it.
If we always marshall the return buffer, we already have the needed
buffer size and don't need to call ndr_size_* functions.
metze
Diffstat (limited to 'swat')
0 files changed, 0 insertions, 0 deletions