[COMMON] media: smfc: fix security problem
authorSeungchul Kim <sc377.kim@samsung.com>
Fri, 23 Mar 2018 08:00:40 +0000 (17:00 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:20 +0000 (20:22 +0300)
commit96c94e94c1894fffb966145fba8fcb8ccca33d82
tree3922346fbb112d519b27e39867d2d7009d032cc4
parente9f4f4f8ad4891fcffda3e6e5b94ae64d2204ab5
[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