From owner-cvs-sys Sat Dec 20 15:12:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA21311 for cvs-sys-outgoing; Sat, 20 Dec 1997 15:12:53 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA20838; Sat, 20 Dec 1997 15:07:05 -0800 (PST) (envelope-from joerg@FreeBSD.org) From: Joerg Wunsch Received: (from joerg@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id PAA01036; Sat, 20 Dec 1997 15:03:51 -0800 (PST) Date: Sat, 20 Dec 1997 15:03:51 -0800 (PST) Message-Id: <199712202303.PAA01036@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/scsi worm.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk joerg 1997/12/20 15:03:51 PST Modified files: sys/scsi worm.c Log: Protect against a null pointer dereferencation in the case of an unknown drive. Such a drive will be configured by worm(4) nevertheless (albeit with a warning), but cannot be opened except of the SCSI control device (so scsi(8) or cdrecord will continue to work). Revision Changes Path 1.49 +12 -1 src/sys/scsi/worm.c