• 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
..
Makefile.in Loading commit data...
alloc.c Loading commit data...
atom.c Loading commit data...
change.c Loading commit data...
codepage.c Loading commit data...
comm.c Loading commit data...
console.c Loading commit data...
directory.c Loading commit data...
drive.c Loading commit data...
environ.c Loading commit data...
file.c Loading commit data...
format_msg.c Loading commit data...
generated.c Loading commit data...
heap.c Loading commit data...
loader.c Loading commit data...
locale.c Loading commit data...
mailslot.c Loading commit data...
module.c Loading commit data...
path.c Loading commit data...
pipe.c Loading commit data...
process.c Loading commit data...
profile.c Loading commit data...
resource.c Loading commit data...
sync.c Loading commit data...
thread.c Loading commit data...
time.c Loading commit data...
timer.c Loading commit data...
toolhelp.c Loading commit data...
version.c Loading commit data...
virtual.c Loading commit data...
volume.c Loading commit data...