dd 7efd4f631e In the VIRTUAL_TTY macro, add a check to make sure that the result of
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
2001-05-27 00:57:25 +00:00
..
2001-03-20 10:42:49 +00:00
2001-05-23 20:41:17 +00:00
2001-05-21 12:51:44 +00:00
2001-05-25 19:24:58 +00:00