On Fri, Jul 03, 2015 at 02:42:57AM +0200, Michael Niedermayer wrote:
> On Thu, Jul 02, 2015 at 11:45:46PM +0200, Andreas Cadhalpun wrote:
> > 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 byte
On Thu, Jul 02, 2015 at 11:45:46PM +0200, Andreas Cadhalpun wrote:
> 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
> ---
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
---
libavcodec/webp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff