]> Cypherpunks repositories - gostls13.git/commit
syscall: restore broken GetQueuedCompletionStatus signature but make it not crash
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 24 Feb 2021 21:59:59 +0000 (22:59 +0100)
committerIan Lance Taylor <iant@golang.org>
Wed, 24 Feb 2021 23:35:00 +0000 (23:35 +0000)
commitdbbc5ec7e87f1976188c57ce4fb0d41e324df687
tree0d3473e9b324e477bb1d02aedad9fd4e974e17df
parentd0d21b7c4c92df8bf60059cbea4c20cfe4ae5fee
syscall: restore broken GetQueuedCompletionStatus signature but make it not crash

This reverts commit dc4698f52b5ad3f0251e0cc25bc7ffbd10e23f2c, and then
fixes the memory corruption issue. It also suggests users switch to
x/sys/windows for the proper function.

This requires CL 295174 to be submitted first.

Updates #44538.

Change-Id: I0ee602f1c1d6a89cc585aff426833a4cb3f2be50
Reviewed-on: https://go-review.googlesource.com/c/go/+/296149
Trust: Jason A. Donenfeld <Jason@zx2c4.com>
Trust: Bryan C. Mills <bcmills@google.com>
Run-TryBot: Jason A. Donenfeld <Jason@zx2c4.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
api/except.txt
src/syscall/syscall_windows.go
src/syscall/zsyscall_windows.go