various changes, see difflog for details!
[ppcskel.git] / usb / core / core.c
index 89d3f69c1a5e11a04e75c17319234aa40dfba62c..b1d04743e5c77078dfb3b6b6a68e5d303ae3ccc9 100644 (file)
@@ -100,6 +100,7 @@ usb_device *usb_add_device()
        dev->epTogl[2] = 0;
 
        char buf[64];
+       memset(buf, 0, sizeof(buf));
 
        /* ask first 8 bytes of device descriptor with this special 
         * GET Descriptor Request, when device address = 0