Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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> Change-Id: Id977cc2536b8b6e20ddcbd3f0bf723a1491adf53 (cherry picked from commit c20ed0b4bbc976b90cb3b0bf2ca3f3b4ff88df71) Signed-off-by: TogoFire <togofire@mailfence.com>
- Loading branch information