From: Duncan Sands Date: Tue, 11 Apr 2006 13:18:57 +0000 (-0300) Subject: V4L/DVB (3766): Correct buffer size calculations in cx88-core.c X-Git-Tag: v2.6.17-rc5~31^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bba3ad76a82eb458d31b136fa2414216e20c99cc;p=pandora-kernel.git V4L/DVB (3766): Correct buffer size calculations in cx88-core.c The computation in cx88_risc_buffer suffers from the mistake: a non-zero padding value can cause more page borders to be crossed, leading to big buffer over-runs. This patch changes the additive constant from 3 + 4 to 4 It also changees the constant in cx88_risc_databuffer from 3 + 4 to 2, because 2 dwords are the correct vaule. Signed-off-by: Duncan Sands Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed