diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-03-06 16:08:10 -0800 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2012-04-01 18:33:29 +0200 |
commit | 4924520513d06b4d9169a1d3e0374d5a48bc02e0 (patch) | |
tree | f8c1dce590ab46b8e6cdc270c68d140548e26a36 /libavcodec/dnxhd_parser.c | |
parent | f2e412d050ae9a0dcdea515f1c02620c6dcf8c47 (diff) | |
download | ffmpeg-4924520513d06b4d9169a1d3e0374d5a48bc02e0.tar.gz |
raw: move buffer size check up.
This way, it protects against overreads for 4bpp/2bpp content also.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org
(cherry picked from commit cc5dd632cecc5114717d0b90f8c2be162b1c6ee8)
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
Diffstat (limited to 'libavcodec/dnxhd_parser.c')
0 files changed, 0 insertions, 0 deletions