Date: Thu, 22 Jul 2004 23:16:12 +0000 (UTC) From: Warner Losh <imp@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/dev/sio sio.c Message-ID: <200407222316.i6MNGC1t018865@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
imp 2004-07-22 23:16:12 UTC FreeBSD src repository Modified files: sys/dev/sio sio.c Log: If you insert a pccard modem and then eject it, you get a panic. This happens because the sio device was never opened and com->tp is therefore NULL. ttygone can't swallow a NULL, so guard against that possibility. Other places in this function make similar checks, so I believe this is correct. Revision Changes Path 1.450 +2 -1 src/sys/dev/sio/sio.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407222316.i6MNGC1t018865>