[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-bugs
Subject:    [Bug 208275] Kernel panic when reading from /dev/cd0 with a damaged dvd
From:       bugzilla-noreply () freebsd ! org
Date:       2016-03-29 20:00:22
Message-ID: bug-208275-8-w59a06f4rP () https ! bugs ! freebsd ! org/bugzilla/
[Download RAW message or body]

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

--- Comment #12 from commit-hook@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@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.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic