opnsense-src/sys/dev/stge
Tong Zhang 110b8112e5 stge: fix null pointer dereference
stge_attach() could fail at line 464, sc->sc_spec remains NULL when
calling stge_detach(), thus bus_release_resources() at line 704 will
trigger null pointer dereference. We need to check the nulliness before
calling bus_release_resources().

PR:		258420
Reviewed by:	markj

(cherry picked from commit 2108cc7290)
2022-04-06 20:30:45 -04:00
..
if_stge.c stge: fix null pointer dereference 2022-04-06 20:30:45 -04:00
if_stgereg.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00