svn commit: r240920 - stable/8/sys/cam/scsi
Tijl Coosemans
tijl at FreeBSD.org
Tue Sep 25 13:34:10 UTC 2012
Author: tijl
Date: Tue Sep 25 13:34:09 2012
New Revision: 240920
URL: http://svn.freebsd.org/changeset/base/240920
Log:
MFC r240701:
Fix a panic when trying to play invalid audio tracks.
PR: kern/167340
Reported by: Michael L. Semon <mlsemon35 gmail com>
Modified:
stable/8/sys/cam/scsi/scsi_cd.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/cam/ (props changed)
Modified: stable/8/sys/cam/scsi/scsi_cd.c
==============================================================================
--- stable/8/sys/cam/scsi/scsi_cd.c Tue Sep 25 13:32:05 2012 (r240919)
+++ stable/8/sys/cam/scsi/scsi_cd.c Tue Sep 25 13:34:09 2012 (r240920)
@@ -1962,6 +1962,7 @@ cdioctl(struct disk *dp, u_long cmd, voi
|| (st > (softc->toc.header.ending_track -
softc->toc.header.starting_track))) {
error = EINVAL;
+ cam_periph_unlock(periph);
break;
}
sentry = &softc->toc.entries[st].addr;
More information about the svn-src-stable
mailing list