diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2016-04-15 17:35:31 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@osg.samsung.com> | 2016-04-20 20:47:33 +0200 |
commit | 86b2749ba79e78130dd9f678aa52d57992fbdf1c (patch) | |
tree | 35097eba25bbbb88ad0a1318b0d6915fd58f1d19 /drivers/media/usb | |
parent | [media] tw686x: Specify that the DMA is 32 bits (diff) | |
download | linux-86b2749ba79e78130dd9f678aa52d57992fbdf1c.tar.xz linux-86b2749ba79e78130dd9f678aa52d57992fbdf1c.zip |
[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>
Diffstat (limited to 'drivers/media/usb')
0 files changed, 0 insertions, 0 deletions