[PATCH] Overrun in option-card USB driver
authorMatthias Urlichs <smurf@smurf.noris.de>
Tue, 11 Apr 2006 03:01:44 +0000 (05:01 +0200)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:24:15 +0000 (06:24 -0700)
commit6dde432553551ae036aae12c2b940677d36c9a5b
tree2998fe9a1f6517717a7433f2fcf318b176fc1492
parent397eeab321e87d8c1ef928b58f256513e6f481dc
[PATCH] Overrun in option-card USB driver

Since the arrays are declared as in_urbs[N_IN_URB]
and out_urbs[N_OUT_URB], both for loops go one
over the end of the array. This fixes coverity id #555.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
Signed-Off-By: Linus Torvalds <torvalds@osdl.org>
drivers/usb/serial/option.c