Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2016 15:06:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 208275] Kernel panic when reading from /dev/cd0 with a damaged dvd
Message-ID:  <bug-208275-6-lKXdoAOBzx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-208275-6@https.bugs.freebsd.org/bugzilla/>
References:  <bug-208275-6@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208275

Konstantin Belousov <kib@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kib@FreeBSD.org

--- Comment #8 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Fabian Keil from comment #7)
I think the only needed part of the change is the move of n calculation aft=
er
the error check.

In head, cluster_read() and bread() relibably reset bp to NULL on error, _a=
nd_
brelse ignores NULL argument.  So it may be argued that the fix also could
remobe brelse() call from the error path.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208275-6-lKXdoAOBzx>