[Bug 208275] Kernel panic when reading from /dev/cd0 with a damaged dvd

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Mar 29 15:06:42 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208275

Konstantin Belousov <kib at FreeBSD.org> changed:

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

--- Comment #8 from Konstantin Belousov <kib at 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 after
the error check.

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

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


More information about the freebsd-amd64 mailing list