lkml.org 
[lkml]   [1996]   [Nov]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From

Newsgroups: linux.dev.kernel
Path: kraxel
From: kraxel@cs.tu-berlin.de (Gerd Knorr)
Subject: which clown "fixed" sr_ioctl in 2.1.12 ??
Organization: my small flat somewhere in berlin
Message-ID: <E1ALJE.KuK@cs.tu-berlin.de>
Date: Fri, 22 Nov 1996 22:09:13 GMT

Hi *,

The audio-ioctls of the SCSI CD-ROM driver are broken in 2.1.12.
Someone added copy_from_user() and copy_to_user() calls to
sr_audio_ioctl(). This is WRONG. sr_audio_ioctl() gets called from
the generic cdrom driver. The generic cdrom driver handles the
user access stuff and passes a _kernel_ pointer to sr_audio_ioctl().

Fix is simple: reverse the patch for sr_ioctl.c

Gerd

--
--
Gerd Knorr <kraxel@cs.tu-berlin.de> | http://wwwwbs.cs.tu-berlin.de/~kraxel/

Linux hackers are funny people: They count the time in patchlevels.

\
 
 \ /
  Last update: 2005-03-22 13:38    [W:0.025 / U:25.792 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site