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:21:49 +0000 |
commit | 905172d75c9cfd93c757b09fa4b8afa0e926a13c (patch) | |
tree | 7f4c8192e6f5ad9da02e8ded03e9af2d590dca9d /libavformat/rso.c | |
parent | 8aee35acb1b40e51a4fc8d7f7c561088e25d6d2e (diff) | |
download | ffmpeg-905172d75c9cfd93c757b09fa4b8afa0e926a13c.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 'libavformat/rso.c')
0 files changed, 0 insertions, 0 deletions