webp: Make sure enough bytes are available

Multimedia / Libav - Andreas Cadhalpun [googlemail.com] - 2 July 2015 18:50 UTC

Every chunk needs at least 8 bytes for chunk_type and chunk_size. Prevent a possible infinite loop.

CC: libav-stable@libav.org

76d4c62 webp: Make sure enough bytes are available
libavcodec/webp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Upstream: git.libav.org


  • Share