libv4l2: Fixed bugs result of prevent tool
authorSungchun Kang <sungchun.kang@samsung.com>
Thu, 28 Feb 2013 04:13:31 +0000 (13:13 +0900)
committerHuisung Kang <hs1218.kang@samsung.com>
Mon, 4 Mar 2013 23:03:52 +0000 (08:03 +0900)
commit380f6359baf3535b484b3360d91c28ba2b44e99d
tree424d93db219f8b7956ab1b6cb26fa5b3f9848cde
parentcf53dddaa8086253da888ff1b58116ac1f06a968
libv4l2: Fixed bugs result of prevent tool

Use snprintf instead of sprintf for avoiding risk of overflow.

Change-Id: If420efb9780e615c368400b2de0c05743ec3a5f6
Signed-off-by: Sungchun Kang <sungchun.kang@samsung.com>
libv4l2/exynos_mc.c
libv4l2/exynos_subdev.c
libv4l2/exynos_v4l2.c