summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorDan Carpenter2013-05-19 20:52:20 +0200
committerGreg Kroah-Hartman2013-05-20 20:35:47 +0200
commit2a0ebf80aa95cc758d4725f74a7016e992606a39 (patch)
tree35fb51826df4e99d781041326e3ce5888afaa76b /drivers/spi
parentUSB: ftdi_sio: Add support for Newport CONEX motor drivers (diff)
downloadkernel-qcow2-linux-2a0ebf80aa95cc758d4725f74a7016e992606a39.tar.gz
kernel-qcow2-linux-2a0ebf80aa95cc758d4725f74a7016e992606a39.tar.xz
kernel-qcow2-linux-2a0ebf80aa95cc758d4725f74a7016e992606a39.zip
USB: cxacru: potential underflow in cxacru_cm_get_array()
The value of "offd" comes off the instance->rcv_buf[] and we used it as the offset into an array. The problem is that we check the upper bound but not for negative values. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi')
0 files changed, 0 insertions, 0 deletions