On Tue, Jul 12, 2005 at 11:43:08PM +0400, Alexey Dobriyan wrote:
> On Tuesday 12 July 2005 22:56, Greg KH wrote:
> > drivers/usb/misc/ldusb.c | 794
> > +++++++++++++++++++++++++++++++++
>
> > --- /dev/null
> > +++ b/drivers/usb/misc/ldusb.c
> >
> > +static int ld_usb_probe(struct usb_interface *intf, const struct
> > usb_device_id *id)
> > +{
> >
> > + if ((le16_to_cpu(udev->descriptor.idVendor) == USB_VENDOR_ID_LD) &&
> > + ((le16_to_cpu(udev->descriptor.idProduct) == USB_DEVICE_ID_CASSY) ||
> > + (le16_to_cpu(udev->descriptor.idProduct) ==
> > USB_DEVICE_ID_COM3LAB)) &&
> > + (le16_to_cpu(udev->descriptor.bcdDevice) <= 0x103)) {
> > + buffer = kmalloc(256, GFP_KERNEL);
>
> Unchecked kmalloc().
Good catch, I'll fix that up for the next round of patches.
thanks,
greg k-h
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel