Date: Mon, 1 Jun 1998 16:18:32 -0400 (EDT) From: Peter Dufault <dufault@hda.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: kern/6820: cd9660_mount NULL pointer deref for no CDROM drive Message-ID: <199806012018.QAA05579@hda.hda.com>
next in thread | raw e-mail | index | archive | help
>Number: 6820 >Category: kern >Synopsis: cd9660_mount NULL pointer deref for no CDROM drive >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Jun 1 13:50:00 PDT 1998 >Last-Modified: >Originator: Peter Dufault >Organization: Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval >Release: FreeBSD 3.0-Current Sun May 31 >Environment: >Description: >How-To-Repeat: >Fix: >Audit-Trail: >Unformatted: I tried to mount a CD on my crash box. Unfortunately I don't have a CDROM drive there. cd9660_mount crashes with a NULL pointer dereference of bdevsw[major(devvp->v_rdev)]: > if ((mp->mnt_flag & MNT_UPDATE) == 0) { > if (bdevsw[major(devvp->v_rdev)]->d_flags & D_NOCLUSTERR) > mp->mnt_flag |= MNT_NOCLUSTERR; > error = iso_mountfs(devvp, mp, p, &args); > } else { This may have been added in 1.29 in the CLUSTERRING commit. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806012018.QAA05579>