kernel32: Fix an off-by-one error in GetComputerNameExA/W.
commita5317eb846e779159924cf0254b3837d10e28019
authorRob Shearman <rob@codeweavers.com>
Wed, 21 Feb 2007 17:13:25 +0000 (21 17:13 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 21 Feb 2007 18:50:57 +0000 (21 19:50 +0100)
tree3804ab7bc9194bcd74d825bb8eceef32e28f4692
parentba590a185ae00c51ae10e5bc93938991330d79f8
kernel32: Fix an off-by-one error in GetComputerNameExA/W.

The dns_* functions expect the input buffer to have space for size
characters plus the nul terminating character.
dlls/kernel32/computername.c