• Rob Shearman's avatar
    kernel32: Fix the GetComputerName* functions to not write to the buffer at all… · fc5b795f
    Rob Shearman authored
    kernel32: Fix the GetComputerName* functions to not write to the buffer at all if there is not enough space.
    
    Add tests for the GetComputerName* functions that show this issue.
    
    Fix an off-by-one error in setting the size when there is not enough space.
    
    Remove the exception handlers for GetComputerNameW,
    GetComputerNameExA/W, since testing on XP SP2 shows that access
    violations are not caught and these are not present on Win9x, which
    does have an exception handler.
    fc5b795f
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
ChangeLog Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
Make.rules.in Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...