On Fri, Mar 19, 2004 at 05:04:30PM -0500, Alan Stern wrote: > Greg: > > This is a very minor point, unlikely ever to come up. But just in case... > > It's conceivable that a device might transmit different values for a > configuration descriptor's wTotalLength the first time we ask for it (in > order to get the length) and the second time (to get the entire > descriptor). Should that improbable event occur, the rawdescriptor buffer > could be allocated using a size that's smaller than the length recorded in > the rawdescriptor itself. This patch protects devio.c against such a > problem. > > If you feel this sequence of events is too unlikely to worry about, then > don't bother to apply the patch.
Seems prudent to be careful here, so I've applied this, thanks. greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
