[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:43 UTC 2016


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 the assignee for the bug.

More information about the freebsd-bugs mailing list