diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-11 10:18:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2006-04-11 10:18:57 -0300 |
commit | e9ca7fc16788e8d4cb52c4ef94ba17caca9f1d35 (patch) | |
tree | 7a51bbd2ea4c38e35ace2cdbcda3b40887ae5da1 /README.patches | |
parent | 5afa1d2f3acfdd9039865f615405fd9e621c8deb (diff) | |
download | mediapointer-dvb-s2-e9ca7fc16788e8d4cb52c4ef94ba17caca9f1d35.tar.gz mediapointer-dvb-s2-e9ca7fc16788e8d4cb52c4ef94ba17caca9f1d35.tar.bz2 |
Correct buffer size calculations in cx88-core.c
From: Duncan Sands <duncan.sands@math.u-psud.fr>
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 'README.patches')
0 files changed, 0 insertions, 0 deletions