diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-03-02 20:47:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-03 00:37:36 +0100 |
commit | 5de2dab12b951b2fe121eb18503accfc91cd1565 (patch) | |
tree | da399e23e357746e9ed1c4e4cab25dee8ca1f948 /tests | |
parent | da2a49ac9ab55c857fe4116c0996728c49e2be77 (diff) | |
download | ffmpeg-5de2dab12b951b2fe121eb18503accfc91cd1565.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>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions