2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-28 15:13:55 +08:00
linux-next/drivers/media/platform/vivid
Hans Verkuil 86b2749ba7 [media] vivid: fix smatch errors
The smatch utility got really confused about the grp % 22 code. Rewrote
it so it now understands that there really isn't a buffer overwrite.

vivid-rds-gen.c:82 vivid_rds_generate() error: buffer overflow 'rds->psname' 9 <= 43
vivid-rds-gen.c:83 vivid_rds_generate() error: buffer overflow 'rds->psname' 9 <= 42
vivid-rds-gen.c:89 vivid_rds_generate() error: buffer overflow 'rds->radiotext' 65 <= 84
vivid-rds-gen.c:90 vivid_rds_generate() error: buffer overflow 'rds->radiotext' 65 <= 85
vivid-rds-gen.c:92 vivid_rds_generate() error: buffer overflow 'rds->radiotext' 65 <= 86
vivid-rds-gen.c:93 vivid_rds_generate() error: buffer overflow 'rds->radiotext' 65 <= 87

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-04-20 15:47:33 -03:00
..
Kconfig [media] vivid: Add an option to configure the maximum number of devices 2015-10-03 11:36:24 -03:00
Makefile [media] vivid: enable the vivid driver 2014-09-02 17:54:12 -03:00
vivid-core.c [media] vivid: set device_caps in video_device 2016-04-13 16:42:09 -03:00
vivid-core.h [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-ctrls.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-ctrls.h
vivid-kthread-cap.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-kthread-cap.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-kthread-out.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-kthread-out.h [media] vivid: add the kthread code that controls the video rate 2014-09-02 17:41:54 -03:00
vivid-osd.c [media] media: platform: vivid: vivid-osd: Remove unnecessary cast to kfree 2016-02-10 09:29:02 -02:00
vivid-osd.h [media] vivid: add a simple framebuffer device for overlay testing 2014-09-02 17:42:53 -03:00
vivid-radio-common.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-common.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-rx.c [media] vivid-radio-rx: Don't go past buffer 2015-04-30 14:28:58 -03:00
vivid-radio-rx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.c [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-radio-tx.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-rds-gen.c [media] vivid: fix smatch errors 2016-04-20 15:47:33 -03:00
vivid-rds-gen.h [media] vivid: add support for radio receivers and transmitters 2014-09-02 17:47:03 -03:00
vivid-sdr-cap.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-sdr-cap.h [media] vivid: SDR cap add 'CU08' Complex U8 format 2015-05-30 11:40:38 -03:00
vivid-tpg-colors.c [media] vivid-tpg: add support for SMPTE 2084 transfer function 2015-09-30 19:49:16 -03:00
vivid-tpg-colors.h [media] vivid-tpg: add support for SMPTE 2084 transfer function 2015-09-30 19:49:16 -03:00
vivid-tpg.c [media] vivid: support new multiplanar YUV formats 2016-03-03 07:48:31 -03:00
vivid-tpg.h [media] vivid: fix broken Bayer text rendering 2016-02-01 08:16:28 -02:00
vivid-vbi-cap.c [media] media: videobuf2: Move timestamp to vb2_buffer 2015-12-18 13:53:31 -02:00
vivid-vbi-cap.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vbi-gen.c [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-gen.h [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
vivid-vbi-out.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
vivid-vbi-out.h [media] vivid: add VBI capture and output code 2014-09-02 17:19:27 -03:00
vivid-vid-cap.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
vivid-vid-cap.h [media] vivid: add the video capture and output parts 2014-09-02 17:15:26 -03:00
vivid-vid-common.c [media] vivid: support new multiplanar YUV formats 2016-03-03 07:48:31 -03:00
vivid-vid-common.h [media] vivid: Don't mess with namespace adding a "get_format" function 2014-09-02 17:54:07 -03:00
vivid-vid-out.c [media] vb2: drop v4l2_format argument from queue_setup 2015-12-18 13:48:19 -02:00
vivid-vid-out.h [media] vivid: remove duplicate and unused g/s_edid functions 2014-09-08 10:00:57 -03:00