mirror of
https://github.com/opnsense/src.git
synced 2026-02-23 01:46:42 -05:00
SC_DEV isn't NULL; if it is, evaluate to NULL and don't dereference NULL. Callers of VIRTUAL_TTY must already check for the result being NULL since si_tty can be NULL, so this should be safe. This fixes a panic when trying to switch to a different vty in an environment such as userconfig (-c option to the kernel). PR: 26508 |
||
|---|---|---|
| .. | ||
| apm | ||
| blank | ||
| daemon | ||
| fade | ||
| fire | ||
| green | ||
| logo | ||
| rain | ||
| snake | ||
| star | ||
| warp | ||
| scgfbrndr.c | ||
| schistory.c | ||
| scmouse.c | ||
| scterm-dumb.c | ||
| scterm-sc.c | ||
| scterm.c | ||
| sctermvar.h | ||
| scvesactl.c | ||
| scvgarndr.c | ||
| scvidctl.c | ||
| scvtb.c | ||
| syscons.c | ||
| syscons.h | ||
| sysmouse.c | ||