On Tue, 7 May 2002, Greg KH wrote: | # This patch includes the following deltas: | # ChangeSet 1.447.73.1 -> 1.447.73.2 | # drivers/usb/input/hid-core.c 1.23 -> 1.24 | # | # The following is the BitKeeper ChangeSet Log | # -------------------------------------------- | # 02/05/03 [EMAIL PROTECTED] 1.447.73.2 | # Fix for the previous fix. hid->name is 128 bytes, not 64 bytes long. | # -------------------------------------------- | # | diff -Nru a/drivers/usb/input/hid-core.c b/drivers/usb/input/hid-core.c | --- a/drivers/usb/input/hid-core.c Tue May 7 15:18:26 2002 | +++ b/drivers/usb/input/hid-core.c Tue May 7 15:18:26 2002 | @@ -1398,7 +1398,7 @@
| - snprintf(hid->name, 64, "%04x:%04x", dev->descriptor.idVendor, |dev->descriptor.idProduct); | + snprintf(hid->name, 128, "%04x:%04x", dev->descriptor.idVendor, |dev->descriptor.idProduct); why not use sizeof() instead? |+ snprintf(hid->name, sizeof(hid->name), "%04x:%04x", |+ dev->descriptor.idVendor, dev->descriptor.idProduct); -- ~Randy _______________________________________________________________ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel