diff options
author | Andreas Cadhalpun <[email protected]> | 2015-07-02 23:45:46 +0200 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-07-23 01:37:17 +0200 |
commit | 3c96f21d6e9de6832a59645273e94dfd65126d2d (patch) | |
tree | c1a1c7537a2127c326a205bd273fc7d87ba28a1d /libavcodec/hevc_parser.c | |
parent | e812220a304de49abe2a9553692dfd487ec9a888 (diff) |
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 <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit 0762152f7af6cd93bc8f504d5503723500c3f369)
Signed-off-by: Andreas Cadhalpun <[email protected]>
(cherry picked from commit 762a5878a6b0bef923ef97c15fdb8274a0351278)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/hevc_parser.c')
0 files changed, 0 insertions, 0 deletions