commit | 417b57b3e4e34df07a2aceaf75baffeacdd9385f | [log] [tgz] |
---|---|---|
author | Roel Kluin <roel.kluin@gmail.com> | Thu Aug 06 16:09:51 2009 -0700 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Sep 23 06:46:32 2009 -0700 |
tree | 0e0454a8f1cf0a40633dd42a94da9935573bf292 | |
parent | d0defb855c8504c49b92bdc0203689ce9b4cf7ba [diff] |
USB: gadget: Read buffer overflow Check whether index is within bounds before testing the element. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>