summaryrefslogtreecommitdiff
path: root/source3/libsmb/nmblib.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-06-16 12:34:42 +0200
committerStefan Metzmacher <metze@samba.org>2011-06-16 12:40:14 +0200
commit11683ccf3e68606ecb1cdfa455f7921b119803c6 (patch)
tree1727813f6e3a067d43ee05f452aad1eb9347b7ac /source3/libsmb/nmblib.c
parent48de3e51eacbd1051f79dc99aaac8a4ec988fde5 (diff)
downloadsamba-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 'source3/libsmb/nmblib.c')
0 files changed, 0 insertions, 0 deletions