aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-03-02 20:47:57 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-09 12:58:39 +0100
commitb55be8b266761bbef6d39195ad7bb3bfd953c4f0 (patch)
treeb04f962015399832fb807d317b7aa059024c19cf /cmdutils.c
parentfc6a00d20d025a1c71ebcd4953b064f37156afaa (diff)
downloadffmpeg-b55be8b266761bbef6d39195ad7bb3bfd953c4f0.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> (cherry picked from commit 5de2dab12b951b2fe121eb18503accfc91cd1565) Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions