On Mon, Jan 31, 2005 at 04:11:42PM -0500, Alan Stern wrote: > Greg: > > This patch fixes a number of small errors in the routines that handle > messages for root hubs: > > Fill in the extra byte if a string descriptor transfer > asks for an odd number of bytes. > > Don't copy more than urb->transfer_buffer_length bytes. > Use an extra internal buffer to avoid the need for lots > of bounds checking. > > Replace strcpy by strlcpy and sprintf by snprintf to avoid > overflowing an internal buffer. > > Don't set urb->status without first acquiring urb->lock. > > Please apply.
Applied, thanks. greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel