Skip to content
Commit 2ab68ec9 authored by Sasha Levin's avatar Sasha Levin Committed by Tomi Valkeinen
Browse files

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: default avatarSasha Levin <sasha.levin@oracle.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent c37dd677
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment