diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2013-11-19 14:25:36 -0500 |
---|---|---|
committer | Tomi Valkeinen <tomi.valkeinen@ti.com> | 2013-11-26 16:40:14 +0200 |
commit | 2ab68ec927310dc488f3403bb48f9e4ad00a9491 (patch) | |
tree | 5419c4937fa6350adce1b76e96dd5dd302a19564 /virt/kvm/vfio.c | |
parent | c37dd677988ca50bc8bc60ab5ab053720583c168 (diff) |
video: kyro: fix incorrect sizes when copying to userspace
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>
Diffstat (limited to 'virt/kvm/vfio.c')
0 files changed, 0 insertions, 0 deletions