From cb7cd32a7c47151c161603cdc8a1c21f48550a65 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Sun, 25 Apr 2021 10:45:39 -0400 Subject: if_wg: do not increment error counter when sc is null If sc is null, jumping to increment the counter means crash. Signed-off-by: Jason A. Donenfeld --- TODO.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'TODO.md') diff --git a/TODO.md b/TODO.md index 36756c9..b4377e2 100644 --- a/TODO.md +++ b/TODO.md @@ -7,6 +7,11 @@ FreeBSD, just `capable()`, which makes it a bit weird for one jail to have permissions in another.) - Make code style consistent with one FreeBSD way, rather than a mix of styles. +- Send ICMP messages at the proper place. +- Review all included headers, and minimize a bit. +- Figure out clear locking rules for network stack stuff -- when different + functions run under what locks and what they race with. There's a lot of + weirdness with `wg_transmit`/`wg_output` to deal with. ### Crypto TODO -- cgit v1.2.3-59-g8ed1b