aboutsummaryrefslogtreecommitdiff
path: root/COPYING
diff options
context:
space:
mode:
authorDavid Anderson <danderson@tailscale.com>2020-03-01 00:39:24 -0800
committerJason A. Donenfeld <Jason@zx2c4.com>2020-05-02 01:44:58 -0600
commit3dce460c88a84922fdeab246a1b3ebddf796093d (patch)
tree5dce6888bf00812cc501afae45cbdac707fc352e /COPYING
parent224bc9e60c7e2e1f04573bc377121c8f844d57c6 (diff)
downloadwireguard-go-3dce460c88a84922fdeab246a1b3ebddf796093d.tar.gz
wireguard-go-3dce460c88a84922fdeab246a1b3ebddf796093d.zip
device: add test to ensure Peer fields are safe for atomic access on 32-bit
Adds a test that will fail consistently on 32-bit platforms if the struct ever changes again to violate the rules. This is likely not needed because unaligned access crashes reliably, but this will reliably fail even if tests accidentally pass due to lucky alignment. Signed-Off-By: David Anderson <danderson@tailscale.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions