diff options
author | 2009-06-10 00:03:55 +0000 | |
---|---|---|
committer | 2009-06-10 00:03:55 +0000 | |
commit | 255628800681005c910738d323e92a14e793beab (patch) | |
tree | f44b2e43ad564d0309af97e2be1c856b8e1a5fd2 /sys/dev/softraid.c | |
parent | fix potential null dereference. (diff) | |
download | wireguard-openbsd-255628800681005c910738d323e92a14e793beab.tar.xz wireguard-openbsd-255628800681005c910738d323e92a14e793beab.zip |
jj reported a panic in bulk updates to me. this is my attempt to fix the
most obvious problem.
if the state table is empty, we'd deref a null pointer.
tested on my firewalls with big state tables, so existing use cases still
work.
Diffstat (limited to 'sys/dev/softraid.c')
0 files changed, 0 insertions, 0 deletions