From owner-cvs-sys Sun Mar 16 11:11:46 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA14636 for cvs-sys-outgoing; Sun, 16 Mar 1997 11:11:46 -0800 (PST) Received: (from bde@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id LAA14629; Sun, 16 Mar 1997 11:11:43 -0800 (PST) Date: Sun, 16 Mar 1997 11:11:43 -0800 (PST) From: Bruce Evans Message-Id: <199703161911.LAA14629@freefall.freebsd.org> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/kern tty_snoop.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk bde 97/03/16 11:11:43 Modified: sys/kern tty_snoop.c Log: Fixed null pointer panic in devtotty(). Fixed bounds checking in devtotty(). devtotty() must check its arg carefully since the arg is supplied as ioctl data. This should fix PR3004. Renamed devtotty() to snpdevtotty(). Revision Changes Path 1.17 +12 -6 src/sys/kern/tty_snoop.c