summaryrefslogtreecommitdiff
path: root/libavformat/rmenc.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-03-02 20:47:57 +0100
committerAnton Khirnov <anton@khirnov.net>2015-03-05 14:49:16 +0100
commit4f2ee9daeedec636fb4fe953a1e0990a7102d5eb (patch)
tree192f60c813f7afe0d17315feb24b538cb033404f /libavformat/rmenc.c
parent66624ed6319cb1a959256fe1a717fec5b748fbfa (diff)
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/rmenc.c')
0 files changed, 0 insertions, 0 deletions