[PATCH 3/4] services: svcctl_GetServiceDisplayNameW and svcctl_GetServiceKeyNameW should have string attribute on output buffer.

Rob Shearman robertshearman at gmail.com
Tue Mar 24 06:26:12 CDT 2009

They also should not have two parameters for specifying the size of the buffer.

The buffer size should also not include in the nul-terminating character.
 dlls/advapi32/service.c |   22 ++++++++++++++++++++--
 include/wine/svcctl.idl |   10 ++++------
 programs/services/rpc.c |   30 ++++++++++++++++--------------
 3 files changed, 40 insertions(+), 22 deletions(-)

Fixes sending uninitialised data from services.exe to clients.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4b885b8330dd25bffd4ab88baa1ccc5e044fa050.diff
Type: text/x-patch
Size: 6845 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20090324/b7cd6426/attachment.bin>

More information about the wine-patches mailing list