1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-29 16:44:03 +00:00

Guard against us having no tty pointer.

This commit is contained in:
Poul-Henning Kamp 2004-06-27 11:29:54 +00:00
parent e3625e9c22
commit ae404e3427
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=131185

View File

@ -1875,7 +1875,8 @@ siointr1(com)
recv_data = 0;
}
++com->bytes_in;
if (com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
if (com->tp != NULL &&
com->tp->t_hotchar != 0 && recv_data == com->tp->t_hotchar)
swi_sched(sio_fast_ih, 0);
ioptr = com->iptr;
if (ioptr >= com->ibufend)