[COMMON] media: smfc: fix security problem
authorSeungchul Kim <sc377.kim@samsung.com>
Fri, 23 Mar 2018 08:00:40 +0000 (17:00 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:31:24 +0000 (14:31 +0900)
commit4dea39b253bb57c34249b6a0828d5137fb8fc1a9
treea8aa6c777a1f1b3d566436591c3d8f4ec2b989fb
parent8fa0b88d4ede26ea64d806588445d99edae84248
[COMMON] media: smfc: fix security problem

The security problem has been reported in smfc driver.
If user sends a special ioctl command,
smfc driver can cause a kernel panic.
So it is modified to avoid kernel panic.

Change-Id: I7b5c4e295e8190cf0fb50d3c4b951a74470101ad
Signed-off-by: Seungchul Kim <sc377.kim@samsung.com>
drivers/media/platform/exynos/smfc/smfc-v4l2-ioctls.c