diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-06 12:21:46 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-04-06 12:27:23 +0200 |
commit | fdfdd38cceebcd62df60785e8523e068b84f7076 (patch) | |
tree | b5ab1403d5a22090414847a04b8450b152feea8e /src/tools/config.h | |
parent | compat: backport skb_mark_not_on_list (diff) | |
download | wireguard-monolithic-historical-fdfdd38cceebcd62df60785e8523e068b84f7076.tar.xz wireguard-monolithic-historical-fdfdd38cceebcd62df60785e8523e068b84f7076.zip |
allowedips: initialize list head when removing intermediate nodes
Otherwise if this list item is later reused, we'll crash on list poison
or worse.
Also, add a version of Mimka's reproducer to netns.sh to catch these
types of bugs in the future.
Reported-by: Mimka <mikma.wg@lists.m7n.se>
Diffstat (limited to 'src/tools/config.h')
0 files changed, 0 insertions, 0 deletions