diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-03-02 20:47:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-21 01:52:52 +0100 |
commit | 1a2aaa74970c63a6cfa7fa966ea3a21e78618849 (patch) | |
tree | 6ca5457c7a39a6e2e55ea57d7f7ad2380720fee4 /libavcodec/siprdata.h | |
parent | f18fc45d18940b8a4e8489d448654d09717925c4 (diff) | |
download | ffmpeg-1a2aaa74970c63a6cfa7fa966ea3a21e78618849.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/siprdata.h')
0 files changed, 0 insertions, 0 deletions