[PATCH] USB: fix array overrun in drivers/usb/serial/option.c
authorEric Sesterhenn <snakebyte@gmx.de>
Sun, 23 Apr 2006 20:52:28 +0000 (22:52 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 1 May 2006 19:03:42 +0000 (12:03 -0700)
commit5e8273250e73d3e2c4e67d0480dcb54e972f5023
treee7b33aa51926c8a4f0ace7098dcb9e8c003ff38e
parentc89ce82c2d942daacc7d7f5d3efafe7dba70bd23
[PATCH] USB: fix array overrun in drivers/usb/serial/option.c

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

This patch was already included in Linus' tree.

Signed-off-by: Eric Sesterhenn <snakebyte@gmx.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/option.c