diff options
author | Jason A. Donenfeld <[email protected]> | 2021-06-04 17:17:35 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-06-04 14:25:14 -0700 |
commit | 46cfe8eee285cde465b420637507884551f5d7ca (patch) | |
tree | 92c5b1dd5a4a90ed7a6bd14e50d781513a28112e /scripts/gdb/linux/timerlist.py | |
parent | a4e9f8e3287c9eb6bf70df982870980dd3341863 (diff) |
wireguard: allowedips: initialize list head in selftest
The randomized trie tests weren't initializing the dummy peer list head,
resulting in a NULL pointer dereference when used. Fix this by
initializing it in the randomized trie test, just like we do for the
static unit test.
While we're at it, all of the other strings like this have the word
"self-test", so add it to the missing place here.
Fixes: e7096c131e51 ("net: WireGuard secure network tunnel")
Cc: [email protected]
Signed-off-by: Jason A. Donenfeld <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions