diff options
author | Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> | 2015-03-02 20:47:57 +0100 |
---|---|---|
committer | Vittorio Giovara <vittorio.giovara@gmail.com> | 2015-03-08 19:36:18 +0000 |
commit | 61c966ef30129a0e4dba485242c039a895914d33 (patch) | |
tree | 1e8b6ed248c8ede49dc9a0e7cb7bba03130760e1 /libavcodec/vc1acdata.h | |
parent | 772f50c1f3e4a50ce3f35e31a6f0cd64e7cbe818 (diff) | |
download | ffmpeg-61c966ef30129a0e4dba485242c039a895914d33.tar.gz |
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: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavcodec/vc1acdata.h')
0 files changed, 0 insertions, 0 deletions