linux/drivers/media/platform/xilinx
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
..
Kconfig [media] v4l: xilinx: VIDEO_XILINX should depend on HAS_DMA 2015-05-01 07:10:09 -03:00
Makefile [media] v4l: xilinx: Add Test Pattern Generator driver 2015-04-03 01:04:18 -03:00
xilinx-dma.c [media] v4l: xilinx: harmless buffer overflow 2015-05-13 16:26:48 -03:00
xilinx-dma.h
xilinx-tpg.c [media] v4l: xilinx: Add Test Pattern Generator driver 2015-04-03 01:04:18 -03:00
xilinx-vip.c
xilinx-vip.h
xilinx-vipp.c
xilinx-vipp.h
xilinx-vtc.c
xilinx-vtc.h