kernel32: Fix an off-by-one error in GetComputerNameExA/W.
Robert Shearman
rob at codeweavers.com
Wed Feb 21 11:13:25 CST 2007
The dns_* functions expect the input buffer to have space for size
characters plus the nul terminating character.
---
dlls/kernel32/computername.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a27ad0ed6fec4ead763f50bf3be4d8e24c109221.diff
Type: text/x-patch
Size: 852 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070221/8b8b3f44/a27ad0ed6fec4ead763f50bf3be4d8e24c109221.bin
More information about the wine-patches
mailing list