[RAMEN9610-10029][COMMON] media: mfc: fix Out-of-Bound defect
authorSunyoung Kang <sy0816.kang@samsung.com>
Wed, 24 Oct 2018 08:04:59 +0000 (17:04 +0900)
committerhskang <hs1218.kang@samsung.com>
Fri, 28 Dec 2018 09:54:00 +0000 (18:54 +0900)
commit38aa413f2e96ac1f09878538ec9bf082cc3207d6
tree5e18f9c169e2054ecbff4b7d4f7b2acdbcff899e
parentc1c5db132aeeaa30284e30c2d3a235abb4249424
[RAMEN9610-10029][COMMON] media: mfc: fix Out-of-Bound defect

This adds to check the size of copy_from_user().

Change-Id: Icb869f2906881889305beea6b4fb3bbd9ef14f08
Signed-off-by: Sunyoung Kang <sy0816.kang@samsung.com>
drivers/media/platform/exynos/mfc/mfc_enc_v4l2.c