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

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 29 Mar 2016 20:00:22 +0000
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 on the CC list for the bug.
Received on Tue Mar 29 2016 - 18:00:23 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:03 UTC