diff options
author | Daniel Scheller <d.scheller@gmx.net> | 2017-07-03 13:20:55 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-07-20 12:57:59 -0400 |
commit | 13c81489622b866f4b4fcbd51707ab4c09e1c8db (patch) | |
tree | 4d6d90948eb7a5d55b9599d45848841aff3e8b69 /drivers/ptp | |
parent | cd21b334943719f880e707eb91895fc916a88000 (diff) |
media: dvb-frontends/stv0910: Fix possible buffer overflow
Fixes smatch error:
drivers/media/dvb-frontends/stv0910.c:715 dvbs2_nbch() error: buffer overflow 'nbch[fectype]' 2 <= 28
Also, fixes the nbch array table by adding the DUMMY_PLF element at the top
to match the enums (table element order was off by one before).
Patch sent upstream aswell.
Cc: Ralph Metzler <rjkm@metzlerbros.de>
Signed-off-by: Daniel Scheller <d.scheller@gmx.net>
Tested-by: Richard Scobie <r.scobie@clear.net.nz>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/ptp')
0 files changed, 0 insertions, 0 deletions