wireguard-go/tun
Jason A. Donenfeld bad6caeb82 memmod: fix protected delayed load the right way
The reason this was failing before is that dloadsup.h's
DloadObtainSection was doing a linear search of sections to find which
header corresponds with the IMAGE_DELAYLOAD_DESCRIPTOR section, and we
were stupidly overwriting the VirtualSize field, so the linear search
wound up matching the .text section, which then it found to not be
marked writable and failed with FAST_FAIL_DLOAD_PROTECTION_FAILURE.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
2021-07-29 01:27:40 +02:00
..
netstack tun/netstack: update go mod and remove GSO argument 2021-05-06 11:07:26 +02:00
tuntest global: remove TODO name graffiti 2021-02-23 20:00:57 +01:00
wintun memmod: fix protected delayed load the right way 2021-07-29 01:27:40 +02:00
alignment_windows_test.go tun: format 2021-05-07 12:21:27 +02:00
operateonfd.go global: bump copyright 2021-01-28 17:52:15 +01:00
tun_darwin.go tun: make NativeTun.Close well behaved, not crash on double close 2021-02-22 15:26:29 +01:00
tun_freebsd.go tun: format 2021-05-07 12:21:27 +02:00
tun_linux.go tun: linux: account for interface removal from outside 2021-05-20 18:26:01 +02:00
tun_openbsd.go tun: make NativeTun.Close well behaved, not crash on double close 2021-02-22 15:26:29 +01:00
tun_windows.go tun: windows: set event before waiting 2021-05-07 09:26:24 +02:00
tun.go global: bump copyright 2021-01-28 17:52:15 +01:00