summaryrefslogtreecommitdiffstats
path: root/sys/dev/softraid.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2009-06-10 00:03:55 +0000
committerdlg <dlg@openbsd.org>2009-06-10 00:03:55 +0000
commit255628800681005c910738d323e92a14e793beab (patch)
treef44b2e43ad564d0309af97e2be1c856b8e1a5fd2 /sys/dev/softraid.c
parentfix potential null dereference. (diff)
downloadwireguard-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