Re: [FFmpeg-devel] [PATCH] vp8: check for too large dimensions

2015-06-07 Thread Andreas Cadhalpun
On 07.06.2015 17:38, Michael Niedermayer wrote: > On Sun, Jun 07, 2015 at 04:05:37PM +0200, Andreas Cadhalpun wrote: >> If the dimensions are too large, s->mb_width or s->mb_height can become >> too large, leading to an int16_t overflow of s->mv_max.{x,y}. >> >> Signed-off-by: Andreas Cadhalpun >>

Re: [FFmpeg-devel] [PATCH] vp8: check for too large dimensions

2015-06-07 Thread Michael Niedermayer
On Sun, Jun 07, 2015 at 04:05:37PM +0200, Andreas Cadhalpun wrote: > If the dimensions are too large, s->mb_width or s->mb_height can become > too large, leading to an int16_t overflow of s->mv_max.{x,y}. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/vp8.c | 10 +- > 1 file cha

[FFmpeg-devel] [PATCH] vp8: check for too large dimensions

2015-06-07 Thread Andreas Cadhalpun
If the dimensions are too large, s->mb_width or s->mb_height can become too large, leading to an int16_t overflow of s->mv_max.{x,y}. Signed-off-by: Andreas Cadhalpun --- libavcodec/vp8.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/libavcodec/vp8.c b/libavcodec/