summaryrefslogtreecommitdiffstats
path: root/drivers/zorro
diff options
context:
space:
mode:
authorSimon Arlott2009-11-21 16:07:14 +0100
committerGreg Kroah-Hartman2010-03-02 23:52:58 +0100
commit5d0a9c7932c45435de72b5a5b2825c7eb34186a4 (patch)
treebc35d2d276ffd5b00b1d73b3946155ad5c1a9e23 /drivers/zorro
parentUSB: cxacru: return an empty value for modulation if there is no connection (diff)
downloadkernel-qcow2-linux-5d0a9c7932c45435de72b5a5b2825c7eb34186a4.tar.gz
kernel-qcow2-linux-5d0a9c7932c45435de72b5a5b2825c7eb34186a4.tar.xz
kernel-qcow2-linux-5d0a9c7932c45435de72b5a5b2825c7eb34186a4.zip
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>
Diffstat (limited to 'drivers/zorro')
0 files changed, 0 insertions, 0 deletions