commit | 5d0a9c7932c45435de72b5a5b2825c7eb34186a4 | [log] [tgz] |
---|---|---|
author | Simon Arlott <simon@fire.lp0.eu> | Sat Nov 21 15:07:14 2009 +0000 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Tue Mar 02 14:52:58 2010 -0800 |
tree | bc35d2d276ffd5b00b1d73b3946155ad5c1a9e23 | |
parent | 1bfbd283cd3082b6cadfbf340faf7d35b8a36b83 [diff] |
USB: cxacru: check data length is not negative When attempting to read data that is not actually an array of values, the length may be negative which causes an Oops due to a likely access off the end of the data array. This bug should not occur under normal use unless the device returns an invalid response. Signed-off-by: Simon Arlott <simon@fire.lp0.eu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>