aboutsummaryrefslogtreecommitdiff
path: root/src/debug/macho
diff options
context:
space:
mode:
authorWill Hawkins <hawkinsw@obs.cr>2023-04-05 03:15:56 -0400
committerGopher Robot <gobot@golang.org>2023-04-11 19:08:56 +0000
commit7830180dcd13c028a1619f41bed0ac5e10a720e7 (patch)
tree07a71b452edac4e43302a66e357ce5c4b5933457 /src/debug/macho
parent05cd6cbb98a78f04fcfe018527fc8a50364bd0ee (diff)
downloadgo-7830180dcd13c028a1619f41bed0ac5e10a720e7.tar.xz
runtime: filter i/o async entries using completion key on windows
In the case where a user program requests overlapped I/O directly on a handlethat is managed by the runtime, it is possible that runtime.netpoll will attempt to dereference a pointer with an invalid value. This CL prevents the runtime from accessing the invalid pointer value by adding a special key to each overlapped I/O operation that it creates. Fixes #58870 Co-authored-by: quimmuntal@gmail.com Change-Id: Ib58ee757bb5555efba24c29101fc6d1a0dedd61a Reviewed-on: https://go-review.googlesource.com/c/go/+/482495 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: David Chase <drchase@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Quim Muntal <quimmuntal@gmail.com> Run-TryBot: Quim Muntal <quimmuntal@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'src/debug/macho')
0 files changed, 0 insertions, 0 deletions