From: Philipp Zabel Date: Wed, 8 Oct 2014 16:09:27 +0000 (-0300) Subject: [media] coda: drop JPEG buffers not framed by SOI and EOI markers X-Git-Tag: omap-for-v3.19/fixes-rc1~133^2~348 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=edc16cb1159c03864c74fd0411ec5d0bcce845be;p=pandora-kernel.git [media] coda: drop JPEG buffers not framed by SOI and EOI markers This patch adds a quick check for valid JPEG frames before feeding them into the bitstream buffer: Frames that do not begin with the JPEG start of image marker and end with the end of image marker are dropped. Signed-off-by: Philipp Zabel Signed-off-by: Kamil Debski Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed