[KERNEL32]
authorRafal Harabien <rafalh@reactos.org>
Wed, 20 Apr 2011 21:31:41 +0000 (21:31 +0000)
committerRafal Harabien <rafalh@reactos.org>
Wed, 20 Apr 2011 21:31:41 +0000 (21:31 +0000)
commita861f7c282ed95e5a79a055ad6f4f99eddccaf02
tree5f97920032e667caecdecbe3667d88de04ac00ac
parentbe4bb69ef8982b04b130663a8823cb37b0c0e5f5
[KERNEL32]
* Properly check if buffer given to GetComputerName is too small. Fixes hostname.exe if computer name is MAX_COMPUTERNAME_LENGTH long (the default for bootcd since it's generated randomly in Setup).
* Simplify it a bit

svn path=/trunk/; revision=51412
reactos/dll/win32/kernel32/misc/computername.c