summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/stv0367.c
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2014-06-19 11:49:40 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-22 21:15:41 -0300
commit18d75a09e954b72de6e85a8fb172835be547a48a (patch)
treefa2e7853955b71152965eb4fdaa3020ecaeba492 /drivers/media/dvb-frontends/stv0367.c
parent58632818ab7bc627eb1273c1f3525e2819a07b01 (diff)
downloadblackbird-obmc-linux-18d75a09e954b72de6e85a8fb172835be547a48a.tar.gz
blackbird-obmc-linux-18d75a09e954b72de6e85a8fb172835be547a48a.zip
[media] media: dib9000: avoid out of bound access
This updated patch also fixes out of bound access to b[]. In dib9000_risc_apb_access_write() an out of bound access to mb[]. The current test to avoid out of bound access to mb[] is insufficient. For len = 19 non-existent mb[10] will be accessed. For odd values of len b[] is accessed out of bounds. For large values of len an of bound access to mb[] may occur in dib9000_mbx_send_attr. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Kees Cook <keescook@chromium.org> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends/stv0367.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud