OpenCloudOS-Kernel/drivers/media/platform
Dan Carpenter 550f45bc83 [media] v4l: xilinx: harmless buffer overflow
My static checker warns that the name of the port can be 15 characters
when you consider the NUL terminator and that's one more than the 14
characters in name[].  Maybe it's an off-by-one?

It's unlikely that we hit the limit and even if we do the overflow will
only affect one of the two bytes of padding so it's harmless.  Still
let's fix it and also change the sprintf() to snprintf().

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2015-05-13 16:26:48 -03:00
..
am437x [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
blackfin [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
coda [media] coda: Set last buffer flag and fix EOS event 2015-05-12 03:54:07 -03:00
davinci [media] v4l2: replace video op g_mbus_fmt by pad op get_fmt 2015-05-01 08:36:17 -03:00
exynos-gsc [media] media: platform: exynos-gsc: Constify platform_device_id 2015-05-12 03:48:01 -03:00
exynos4-is [media] exynos4_is: exynos4-fimc requires i2c 2015-05-13 16:06:28 -03:00
marvell-ccic [media] marvell-ccic: fix RGB444 format 2015-05-12 04:04:26 -03:00
omap [media] media: omap/omap_vout: fix type of input members to omap_vout_setup_vrfb_bufs() 2015-03-03 11:22:58 -03:00
omap3isp [media] media: omap3isp: remove unused clkdev 2015-04-10 10:25:30 -03:00
s3c-camif [media] media: platform: s3c-camif: Constify platform_device_id 2015-05-12 03:48:58 -03:00
s5p-g2d [media] media: platform: s5p: Constify platform_device_id 2015-05-12 03:49:22 -03:00
s5p-jpeg Merge branch 'patchwork' into v4l_for_linus 2015-04-21 06:12:35 -03:00
s5p-mfc [media] s5p-mfc: Set last buffer flag 2015-05-12 03:54:34 -03:00
s5p-tv [media] media: platform: s5p: Constify platform_device_id 2015-05-12 03:49:22 -03:00
soc_camera [media] constify of_device_id array 2015-05-12 03:58:16 -03:00
ti-vpe [media] media: ti-vpe: Use mem-to-mem ioctl helpers 2015-02-02 13:34:18 -02:00
vivid [media] vivid: drop format description 2015-05-01 06:57:05 -03:00
vsp1 [media] v4l2-subdev: add support for the new enum_frame_size 'which' field 2015-03-23 11:48:55 -07:00
xilinx [media] v4l: xilinx: harmless buffer overflow 2015-05-13 16:26:48 -03:00
Kconfig [media] v4l: xilinx: Add Xilinx Video IP core 2015-04-03 00:59:49 -03:00
Makefile [media] v4l: xilinx: Add Xilinx Video IP core 2015-04-03 00:59:49 -03:00
arv.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
fsl-viu.c [media] constify of_device_id array 2015-05-12 03:58:16 -03:00
m2m-deinterlace.c [media] m2m-deinterlace: remove dead code 2015-05-01 06:29:50 -03:00
mx2_emmaprp.c Driver core patches for 3.19-rc1 2014-12-14 16:10:09 -08:00
sh_veu.c [media] sh_veu: v4l2_dev wasn't set 2015-04-01 06:56:55 -03:00
sh_vou.c [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
timblogiw.c media: platform: drop owner assignment from platform_drivers 2014-10-20 16:20:44 +02:00
via-camera.c [media] v4l2: replace s_mbus_fmt by set_fmt in bridge drivers 2015-05-01 09:01:16 -03:00
via-camera.h
vim2m.c [media] vim2m: drop format description 2015-05-01 06:56:35 -03:00