]> git.ipfire.org Git - thirdparty/wireguard-go.git/commit
memmod: do not use IsBadReadPtr
authorJason A. Donenfeld <Jason@zx2c4.com>
Wed, 3 Mar 2021 13:38:26 +0000 (14:38 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Tue, 9 Mar 2021 04:04:09 +0000 (21:04 -0700)
commit497ba95de7833566d696768c8a366e39fdb40f8b
tree2eae133ac40b551c6ec41af7d2d72b1c4dc8367c
parent0eb720629553800b351c8ac7f6aa5ffad3de427d
memmod: do not use IsBadReadPtr

It should be enough to check for the trailing zero name.

Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
tun/wintun/memmod/memmod_windows.go
tun/wintun/memmod/mksyscall.go [deleted file]
tun/wintun/memmod/syscall_windows.go
tun/wintun/memmod/zsyscall_windows.go [deleted file]