From: Hans Verkuil Date: Tue, 7 Oct 2014 11:58:55 +0000 (-0300) Subject: [media] vivid: fix buffer overrun X-Git-Tag: omap-for-v3.19/fixes-not-urgent-part1~48^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c204e1fafbd50a158a34c8a5bd9682cb04ecb29b;p=pandora-kernel.git [media] vivid: fix buffer overrun The random_line buffer must be twice the maximum width, but it only allocated the maximum width, so it was only half the size it needed to be. Surprisingly I never saw the kernel fail on this, but the same TPG code used in qv4l2 crashed and valgrind helped me track this bug down. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed