mirror of
https://github.com/opnsense/src.git
synced 2026-05-13 09:44:52 -04:00
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
|
||
|---|---|---|
| .. | ||
| if_stge.c | ||
| if_stgereg.h | ||