pfkey import_flow() must do the NULL check before doing pointer
authorbluhm <bluhm@openbsd.org>
Thu, 20 Jan 2022 17:13:12 +0000 (17:13 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 20 Jan 2022 17:13:12 +0000 (17:13 +0000)
commitc7fdf3070af46315c614d8bcb4ba21c486fab8a8
tree5f360ffba07426ef7298b7fc4a4303473227fa22
parentbb22a51d4f21ac8b45d6a6a5140ad8edc919aaa6
pfkey import_flow() must do the NULL check before doing pointer
arithmetic.
found by kubsan; joint work with tobhe@; OK millert@
sys/net/pfkeyv2_convert.c