linux/drivers/media
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
..
common media: replace bellow -> below 2015-05-08 14:48:48 -03:00
dvb-core Merge branch 'drm-next-merged' of git://people.freedesktop.org/~airlied/linux into v4l_for_linus 2015-04-21 09:44:55 -03:00
dvb-frontends [media] rtl2832: add support for GoTView MasterHD 3 USB tuner 2015-05-12 13:25:35 -03:00
firewire [media] firewire: Deletion of an unnecessary check before the function call "dvb_unregister_device" 2014-11-25 13:30:31 -02:00
i2c [media] media: i2c: ov2659: Use v4l2_of_alloc_parse_endpoint() 2015-05-12 04:03:23 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] saa7134: fix CodingStyle issues on the lines touched by pr_foo refactor 2015-05-13 14:16:43 -03:00
platform [media] v4l: xilinx: harmless buffer overflow 2015-05-13 16:26:48 -03:00
radio [media] radio: fix error return code 2015-05-01 07:02:16 -03:00
rc [media] st_rc: fix build warning 2015-05-13 16:24:26 -03:00
tuners [media] R820T tuner needs CONFIG_BITREVERSE 2015-05-13 16:06:58 -03:00
usb [media] rc-core: fix dib0700 scancode generation for RC5 2015-05-12 18:27:25 -03:00
v4l2-core [media] videobuf2: return -EPIPE from DQBUF after the last buffer 2015-05-12 03:53:06 -03:00
Kconfig media controller: add EXPERIMENTAL to Kconfig option for DVB support 2015-05-08 14:48:49 -03:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00