summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorSasha Levin <sasha.levin@oracle.com>2013-11-19 19:25:36 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-12-08 15:29:16 (GMT)
commitacc142b485c5d09358d9269834fb3ba8ceeeed0a (patch)
tree3fc8883923699e31d361b15861ab9142a8fca1d6 /drivers/hid
parentaafc56772e2156d2c28fe6ce072d115c0e34834e (diff)
downloadlinux-fsl-qoriq-acc142b485c5d09358d9269834fb3ba8ceeeed0a.tar.xz
video: kyro: fix incorrect sizes when copying to userspace
commit 2ab68ec927310dc488f3403bb48f9e4ad00a9491 upstream. kyro would copy u32s and specify sizeof(unsigned long) as the size to copy. This would copy more data than intended and cause memory corruption and might leak kernel memory. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions