[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 20:00:23 UTC 2016


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

--- Comment #12 from commit-hook at freebsd.org ---
A commit references this bug:

Author: kib
Date: Tue Mar 29 19:59:45 UTC 2016
New revision: 297401
URL: https://svnweb.freebsd.org/changeset/base/297401

Log:
  Do not access buffer if bread(9) or cluster_read(9) failed.  On error,
  the functions free the buffer and set the pointer to NULL.  Also
  remove useless call to brelse(9) on the error path.

  PR:   208275
  Submitted by: Fabian Keil <fk at fabiankeil.de>
  MFC after:    2 weeks

Changes:
  head/sys/fs/cd9660/cd9660_vnops.c

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list