diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-04-21 17:03:25 -0600 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2021-06-04 16:57:59 +0200 |
commit | 3c14c4bf90f37ad5d0bc6e0e0e7972f9ae4ad3ed (patch) | |
tree | 1cf656b218d5470c75ff738d5f9873fc1d39bfee /kernel-tree-scripts | |
parent | 4d8b7edca7c1cc7894007cd378acb30e870d90f5 (diff) |
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.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'kernel-tree-scripts')
0 files changed, 0 insertions, 0 deletions