Greg KH <[EMAIL PROTECTED]> writes: > On Fri, Jan 04, 2002 at 03:31:12PM +0100, Peter Osterlund wrote: > > Anyway, if (header->bLength < 2) is true in usb_parse_interface (line > > 1546), the endpoint, extra and extralen fields will never be > > initialized. This will lead to either corruption or a memory leak when > > usb_destroy_configuration is called. Therefore I think this patch is > > correct. > > Good catch. How about this patch instead which removes a bit of the > same logic elsewhere:
Yes, that looks even better. -- Peter Osterlund - [EMAIL PROTECTED] http://w1.894.telia.com/~u89404340 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel