Kostya Shishkov
|
2d63f9b4ef
|
dfa: add some checks to ensure that decoder won't write past frame end
(cherry picked from commit 8099187e89)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
|
14 years ago |
Anton Khirnov
|
4c849c6991
|
dfa: check that the caller set width/height properly.
Fixes CVE-2012-2786.
(cherry picked from commit ee715f49a0)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
|
13 years ago |
Diego Biurrun
|
b1bb3b8d87
|
dfa: Remove unused variable.
This fixes the warning:
libavcodec/dfa.c:189: warning: unused variable ‘frame_end’
|
14 years ago |
Reimar Döffinger
|
2c9a5172d3
|
dfa: fix buffer overflow checks to avoid integer overflows.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
15 years ago |
Ronald S. Bultje
|
d38345878c
|
dfa: protect pointer range checks against overflows.
|
15 years ago |
Kostya Shishkov
|
42315dabce
|
Chronomaster DFA decoder
Signed-off-by: Anton Khirnov <anton@khirnov.net>
|
15 years ago |