5682b4
--- libusb-0.1.12/usb.c.memset	2006-03-04 03:52:46.000000000 +0100
5682b4
+++ libusb-0.1.12/usb.c	2007-08-01 12:32:17.000000000 +0200
5682b4
@@ -232,6 +232,7 @@ int usb_get_string_simple(usb_dev_handle
5682b4
   char tbuf[255];	/* Some devices choke on size > 255 */
5682b4
   int ret, langid, si, di;
5682b4
 
5682b4
+  memset(tbuf, 0, sizeof(tbuf));
5682b4
   /*
5682b4
    * Asking for the zero'th index is special - it returns a string
5682b4
    * descriptor that contains all the language IDs supported by the