aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/internal.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-03-02 20:47:57 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2015-03-08 19:36:18 +0000
commit61c966ef30129a0e4dba485242c039a895914d33 (patch)
tree1e8b6ed248c8ede49dc9a0e7cb7bba03130760e1 /libavcodec/internal.h
parent772f50c1f3e4a50ce3f35e31a6f0cd64e7cbe818 (diff)
downloadffmpeg-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/internal.h')
0 files changed, 0 insertions, 0 deletions