USB: add free_len=0 initialization to ipaq.c
Subsystems (2)
This is what happens when driver writers neglect memset after kmalloc. Patch by Ganesh Varadaraja.
drivers/usb/serial/ipaq.c +1 -0
@@ -188,6 +188,7 @@ static int ipaq_open(struct usb_serial_p port->private = (void *)priv; priv->active =0 ; priv->queue_len =0 ; + priv->free_len =0 ;INIT_LIST_HEAD (&priv->queue);INIT_LIST_HEAD (&priv->freelist);