Date: Tue, 29 Mar 2016 20:00:22 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 208275] Kernel panic when reading from /dev/cd0 with a damaged dvd Message-ID: <bug-208275-6-pv86f2oIcQ@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-208275-6@https.bugs.freebsd.org/bugzilla/> References: <bug-208275-6@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208275 --- 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 --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208275-6-pv86f2oIcQ>