[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-08-14 Thread Vojtech Pavlik
On Sat, Aug 14, 2004 at 04:11:56PM +0200, Christoph Hellwig wrote: > This patch still doesn't seem to be in, any reasons for that? > > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108634389707385&w=2 It's in my input tree, I have sent it to Linus, I have pinged Linus once more to get it mer

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-08-14 Thread Christoph Hellwig
This patch still doesn't seem to be in, any reasons for that? http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108634389707385&w=2 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -10

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-07-05 Thread Herbert Xu
On Sun, Jun 06, 2004 at 11:40:19AM +0200, Vojtech Pavlik wrote: > On Fri, Jun 04, 2004 at 08:07:25PM +1000, Herbert Xu wrote: > > On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: > > > > > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > > > is incorrect as the n

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-07-05 Thread Vojtech Pavlik
On Mon, Jul 05, 2004 at 09:30:31PM +1000, Herbert Xu wrote: > On Sun, Jun 06, 2004 at 11:40:19AM +0200, Vojtech Pavlik wrote: > > On Fri, Jun 04, 2004 at 08:07:25PM +1000, Herbert Xu wrote: > > > On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: > > > > > > > > The current code is applying

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-06-06 Thread Vojtech Pavlik
On Fri, Jun 04, 2004 at 08:07:25PM +1000, Herbert Xu wrote: > On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: > > > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > > is incorrect as the number of values is stored in field->report_count, > > not field->maxusage.

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-10 Thread Herbert Xu
On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > is incorrect as the number of values is stored in field->report_count, > not field->maxusage. The USB phone from www.virbiage.com is one device > where report_cou

Re: [linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-07 Thread Herbert Xu
On Fri, May 07, 2004 at 07:26:31PM +0400, Sergey Vlasov wrote: > > This patch seems to break HIDIOCGUCODE for report_type == > HID_REPORT_TYPE_INPUT. The following patch (for 2.4) fixes it: > > --- linux/drivers/usb/hiddev.c.hiddev-fix-gucode 2004-05-07 19:16:41 +0400 > +++ linux/drivers/us

Re: [linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-07 Thread Sergey Vlasov
On Thu, May 06, 2004 at 08:22:20PM +1000, Herbert Xu wrote: > On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: > > > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > > is incorrect as the number of values is stored in field->report_count, > > not field->maxusage.

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-06 Thread Pete Zaitcev
On Thu, 6 May 2004 20:24:45 +1000 Herbert Xu <[EMAIL PROTECTED]> wrote: > This patch fixes some incorrect returns using copy_to_user. > It is for 2.4.26 + the previous patch. It's on the board, Herbert. Might even be in a Marcelo's -rc already. Don't worry, I'm tracking this. -- Pete -

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-06 Thread Herbert Xu
This patch fixes some incorrect returns using copy_to_user. It is for 2.4.26 + the previous patch. -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbe

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-06 Thread Herbert Xu
On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > is incorrect as the number of values is stored in field->report_count, > not field->maxusage. The USB phone from www.virbiage.com is one device > where report_cou

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-05 Thread Greg KH
On Wed, Apr 14, 2004 at 08:22:17PM +1000, Herbert Xu wrote: > Hi: > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > is incorrect as the number of values is stored in field->report_count, > not field->maxusage. The USB phone from www.virbiage.com is one device > where r

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-04-20 Thread Pete Zaitcev
On Wed, 14 Apr 2004 20:22:17 +1000 Herbert Xu <[EMAIL PROTECTED]> wrote: > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > is incorrect as the number of values is stored in field->report_count, > not field->maxusage. The USB phone from www.virbiage.com is one device > wh

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-04-14 Thread Herbert Xu
On Wed, Apr 14, 2004 at 08:22:17PM +1000, herbert wrote: > > The current code is applying the maxusage limit to GUSAGE/SUSAGE. This > is incorrect as the number of values is stored in field->report_count, > not field->maxusage. The USB phone from www.virbiage.com is one device > where report_cou

[linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-04-14 Thread Herbert Xu
This patch fixes some incorrect returns using copy_to_user. It is for 2.4.25 + the previous patch. -- Debian GNU/Linux 3.0 is out! ( http://www.debian.org/ ) Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbe