From: Heinrich Schuchardt Date: Thu, 19 Jun 2014 14:49:40 +0000 (-0300) Subject: [media] media: dib9000: avoid out of bound access X-Git-Tag: omap-for-v3.17/fixes-against-rc2~155^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=18d75a09e954b72de6e85a8fb172835be547a48a;p=pandora-kernel.git [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 Reviewed-by: Kees Cook Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed