diff options
author | Duncan Sands | 2006-04-11 15:18:57 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab | 2006-05-13 00:54:50 +0200 |
commit | bba3ad76a82eb458d31b136fa2414216e20c99cc (patch) | |
tree | 3b727a066fe78d7c88cf08c633d4b3887b0e1f37 /security/selinux | |
parent | V4L/DVB (3763): Bug fix: Wrong tuner was used pcHDTV HD-3000 card (diff) | |
download | kernel-qcow2-linux-bba3ad76a82eb458d31b136fa2414216e20c99cc.tar.gz kernel-qcow2-linux-bba3ad76a82eb458d31b136fa2414216e20c99cc.tar.xz kernel-qcow2-linux-bba3ad76a82eb458d31b136fa2414216e20c99cc.zip |
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 <baldrick@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'security/selinux')
0 files changed, 0 insertions, 0 deletions