From owner-freebsd-commit Thu Jun 1 13:28:45 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA22454 for commit-outgoing; Thu, 1 Jun 1995 13:28:45 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA22428 for cvs-sys-outgoing; Thu, 1 Jun 1995 13:28:40 -0700 Received: (from jkh@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id NAA22387 ; Thu, 1 Jun 1995 13:28:25 -0700 Date: Thu, 1 Jun 1995 13:28:25 -0700 From: "Jordan K. Hubbard" Message-Id: <199506012028.NAA22387@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/i386/isa/matcd matcd.c Sender: commit-owner@FreeBSD.org Precedence: bulk jkh 95/06/01 13:28:23 Modified: sys/i386/isa/matcd matcd.c Log: I have just fixed a problem with one of the matcd audio ioctls. The CDIOREADTOCENTRYS call was ignoring both the start_track and data_len fields of the call and returning the whole table of contents regardless. This writes all over the stack of programs like workman and xcdplayer which read the contents one track at a time. I have included a patch which fixes it. The patch affects ONLY the CDIOREADTOCENTRYS ioctl of the matcd driver and will not affect any other part of the system, especially not the probe for the matcd device. Submitted by: Doug Rabson