aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/motion_est_template.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-03-02 20:47:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-09 01:24:24 +0100
commit897a51f47b38ed3391d49590788e45fb6ba5c310 (patch)
tree09b687d327e10f6c5147aa2c708d5b0991b35bb2 /libavcodec/motion_est_template.c
parentf2a84d04331d8179a3cac1adcdef9de1b5c3f1e9 (diff)
downloadffmpeg-897a51f47b38ed3391d49590788e45fb6ba5c310.tar.gz
avcodec/webp: validate the distance prefix code
According to the WebP Lossless Bitstream Specification the highest allowed value for a prefix code is 39. If prefix_code is too large, the calculated extra_bits has an invalid value and triggers an assertion in get_bits. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5de2dab12b951b2fe121eb18503accfc91cd1565) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/motion_est_template.c')
0 files changed, 0 insertions, 0 deletions