From: Sasha Levin Date: Tue, 19 Nov 2013 19:25:36 +0000 (-0500) Subject: video: kyro: fix incorrect sizes when copying to userspace X-Git-Tag: v3.13-rc3~11^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2ab68ec927310dc488f3403bb48f9e4ad00a9491;p=pandora-kernel.git 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 Signed-off-by: Tomi Valkeinen --- Reading git-diff-tree failed