On 09/21/2012 05:41 PM, Pandiyarajan Pitchaimuthu wrote: > The variable assigned_ep can be assigned value of -1 and is never > checked if it equals -1. So the endpoint array can have -1 as the index > value and can be out of bounds. > > The value of assigned_ep is checked for -1 and is ensured that the > endpoint array doesn't go out of bounds. > > Signed-off-by: Pandiyarajan Pitchaimuthu <c_ppitch@xxxxxxxxxxxxxxxx> Thanks, applied. Kalle -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html