• Zebediah Figura's avatar
    ntdll: Avoid accessing the I/O status block in wait_async(). · 97afac46
    Zebediah Figura authored
    Steam uses WSASend() with completion ports, reusing OVERLAPPED structures as
    soon as they are returned from GetQueuedCompletionStatus(). Since completion is
    queued during the select request in wait_async(), the I/O status block can be
    reused even before the call to NtDeviceIoControl exits.
    
    This works fine with current Wine, because WSASend() doesn't access the I/O
    status block after queuing completion. However, a patch that changes it to use
    wait_async() like other async requests causes NtDeviceIoControlFile to
    consistently return garbage status codes.
    Signed-off-by: 's avatarZebediah Figura <z.figura12@gmail.com>
    Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
    97afac46
Name
Last commit
Last update
..
Makefile.in Loading commit data...
async.c Loading commit data...
atom.c Loading commit data...
change.c Loading commit data...
class.c Loading commit data...
clipboard.c Loading commit data...
completion.c Loading commit data...
console.c Loading commit data...
debugger.c Loading commit data...
device.c Loading commit data...
directory.c Loading commit data...
event.c Loading commit data...
fd.c Loading commit data...
file.c Loading commit data...
file.h Loading commit data...
handle.c Loading commit data...
handle.h Loading commit data...
hook.c Loading commit data...
mach.c Loading commit data...
mailslot.c Loading commit data...
main.c Loading commit data...
mapping.c Loading commit data...
mutex.c Loading commit data...
named_pipe.c Loading commit data...
object.c Loading commit data...
object.h Loading commit data...
process.c Loading commit data...
process.h Loading commit data...
procfs.c Loading commit data...
protocol.def Loading commit data...
ptrace.c Loading commit data...
queue.c Loading commit data...
region.c Loading commit data...
registry.c Loading commit data...
request.c Loading commit data...
request.h Loading commit data...
security.h Loading commit data...
semaphore.c Loading commit data...
serial.c Loading commit data...
signal.c Loading commit data...
sock.c Loading commit data...
symlink.c Loading commit data...
thread.c Loading commit data...
thread.h Loading commit data...
timer.c Loading commit data...
token.c Loading commit data...
trace.c Loading commit data...
unicode.c Loading commit data...
unicode.h Loading commit data...
user.c Loading commit data...
user.h Loading commit data...
window.c Loading commit data...
wineserver.de.UTF-8.man.in Loading commit data...
wineserver.fr.UTF-8.man.in Loading commit data...
wineserver.man.in Loading commit data...
winstation.c Loading commit data...