Messages in this thread | | | Subject | Re: [2.6.7-rc1-mm1] lp int copy_to_user replaced | From | Arjan van de Ven <> | Date | Thu, 27 May 2004 19:39:48 +0200 |
| |
On Thu, 2004-05-27 at 19:32, FabF wrote: > Andrew, > > Here's a patch to have standard __put_user for integer transfers in lp > driver.Is it correct ?
no it's not. You need to use put_user() not __put_user() at least, to make sure the destination address is checked to not be in kernel space...
[unhandled content-type:application/pgp-signature] | |