aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/lagarithrac.h
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-07-02 23:45:46 +0200
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-07-19 10:00:07 +0200
commit762a5878a6b0bef923ef97c15fdb8274a0351278 (patch)
tree3981bb0b0d175c27bcefc3798ee68f399a84a08e /libavcodec/lagarithrac.h
parentf0af6e705f3b30f7f5afa3c24db27433af6b1bfc (diff)
downloadffmpeg-762a5878a6b0bef923ef97c15fdb8274a0351278.tar.gz
webp: fix infinite loop in webp_decode_frame
The loop always needs at least 8 bytes for chunk_type and chunk_size. If fewer are left, bytestream2_get_le32 just returns 0 without reading any bytes, leading to an infinite loop. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 0762152f7af6cd93bc8f504d5503723500c3f369) Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Diffstat (limited to 'libavcodec/lagarithrac.h')
0 files changed, 0 insertions, 0 deletions