]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
[media] cx22700: Fix potential buffer overflow
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 5 Nov 2014 11:42:22 +0000 (09:42 -0200)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 5 Nov 2014 11:42:22 +0000 (09:42 -0200)
commit667c952e7191ffb0a2703c8e173b0d5f0231a764
tree7f1f65e6053d451d7d4b68f3a79a7ce5b7243362
parentb9f62ffe05e4019da205d6fec244226b191c5242
[media] cx22700: Fix potential buffer overflow

As new FEC types were added, we need a check to avoid overflows:
drivers/media/dvb-frontends/cx22700.c:172 cx22700_set_tps() error: buffer overflow 'fec_tab' 6 <= 6
drivers/media/dvb-frontends/cx22700.c:173 cx22700_set_tps() error: buffer overflow 'fec_tab' 6 <= 6

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/dvb-frontends/cx22700.c