From owner-cvs-sys Sat Oct 5 01:40:29 1996 Return-Path: owner-cvs-sys Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA03646 for cvs-sys-outgoing; Sat, 5 Oct 1996 01:40:29 -0700 (PDT) Received: from sovcom.kiae.su (sovcom.kiae.su [193.125.152.1]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id BAA03638; Sat, 5 Oct 1996 01:40:23 -0700 (PDT) Received: by sovcom.kiae.su id AA27510 (5.65.kiae-1 ); Sat, 5 Oct 1996 11:34:39 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Sat, 5 Oct 96 11:34:39 +0300 Received: (from ache@localhost) by nagual.ru (8.7.6/8.7.3) id MAA00616; Sat, 5 Oct 1996 12:14:28 +0400 (MSD) Message-Id: <199610050814.MAA00616@nagual.ru> Subject: Re: cvs commit: src/sys/kern kern_exit.c In-Reply-To: <199610042343.QAA03437@freefall.freebsd.org> from "Julian Elischer" at "Oct 4, 96 04:43:14 pm" To: julian@freefall.freebsd.org (Julian Elischer) Date: Sat, 5 Oct 1996 12:14:28 +0400 (MSD) Cc: CVS-committers@freefall.freebsd.org, cvs-all@freefall.freebsd.org, cvs-sys@freefall.freebsd.org From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= (Andrey A. Chernov) Organization: self X-Class: Fast X-Mailer: ELM [version 2.4ME+ PL28 (25)] Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > julian 96/10/04 16:43:14 > > Modified: sys/kern kern_exit.c > Log: > If we have no console device it is possible to be > 1/ session leader > 2/ Have a console device vnode (/dev/console) > 3/ have NULL pointer for a consoel tty struct. > > fix the only case where the tty struct is referenced without a prior > check for existance. In which situations this bug hits? -- Andrey A. Chernov http://www.nagual.ru/~ache/