kernel32: Fix an off-by-one error in GetComputerNameExA/W.

Robert Shearman rob at
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 :

More information about the wine-patches mailing list