aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.c
diff options
context:
space:
mode:
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>2015-07-02 23:45:46 +0200
committerMichael Niedermayer <michaelni@gmx.at>2015-07-03 04:06:19 +0200
commit0762152f7af6cd93bc8f504d5503723500c3f369 (patch)
treee71bbaa173192593a566c4f76802f858fe82f7f2 /cmdutils.c
parent30ffbeb04abde7bcf2ec01566f56dc187a87cad3 (diff)
downloadffmpeg-0762152f7af6cd93bc8f504d5503723500c3f369.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>
Diffstat (limited to 'cmdutils.c')
0 files changed, 0 insertions, 0 deletions