summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-19 19:23:39 +0100
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-02-23 17:44:09 +0100
commit3dd6b560dc5d59e7cb6dbda6e85dc9af7925fcf8 (patch)
tree01e74d71a2a2a57736fa33a50582f04905bdcd65 /include
parentmedia: dvb: update buffer mmaped flags and frame counter (diff)
downloadlinux-3dd6b560dc5d59e7cb6dbda6e85dc9af7925fcf8.tar.xz
linux-3dd6b560dc5d59e7cb6dbda6e85dc9af7925fcf8.zip
media: Don't let tvp5150_get_vbi() go out of vbi_ram_default array
As pointed by Dan, possible values for bits[3:0] of te Line Mode Registers can range from 0x0 to 0xf, but the check logic allow values ranging from 0x0 to 0xe. As static arrays are initialized with zero, using a value without an explicit initializer at the array won't cause any harm. Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions