From: Simon Arlott Date: Sat, 21 Nov 2009 15:07:14 +0000 (+0000) Subject: USB: cxacru: check data length is not negative X-Git-Tag: v2.6.34-rc1~215^2~215 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d0a9c7932c45435de72b5a5b2825c7eb34186a4;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed