Re: [FFmpeg-devel] [PATCH] svq1enc: fix out of bounds reads

2016-01-26 Thread Andreas Cadhalpun
On 26.01.2016 02:46, Michael Niedermayer wrote: > On Tue, Jan 26, 2016 at 01:04:05AM +0100, Andreas Cadhalpun wrote: >> svq1enc.c |7 +-- >> 1 file changed, 5 insertions(+), 2 deletions(-) >> 303a9f08a561047395172ac4f7abbc63a78c9021 >> 0001-svq1enc-fix-out-of-bounds-reads.patch >> From 5

Re: [FFmpeg-devel] [PATCH] svq1enc: fix out of bounds reads

2016-01-25 Thread Michael Niedermayer
On Tue, Jan 26, 2016 at 01:04:05AM +0100, Andreas Cadhalpun wrote: > On 22.01.2016 00:57, Michael Niedermayer wrote: > > On Thu, Jan 21, 2016 at 11:04:14PM +0100, Andreas Cadhalpun wrote: > >> level can be up to 5, but there are only four codebooks. > >> > >> Fixes ubsan runtime error: index 5 out

Re: [FFmpeg-devel] [PATCH] svq1enc: fix out of bounds reads

2016-01-25 Thread Andreas Cadhalpun
On 22.01.2016 00:57, Michael Niedermayer wrote: > On Thu, Jan 21, 2016 at 11:04:14PM +0100, Andreas Cadhalpun wrote: >> level can be up to 5, but there are only four codebooks. >> >> Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t >> [4][96]' >> >> Signed-off-by: Andreas Cadhalpun

Re: [FFmpeg-devel] [PATCH] svq1enc: fix out of bounds reads

2016-01-21 Thread Michael Niedermayer
On Thu, Jan 21, 2016 at 11:04:14PM +0100, Andreas Cadhalpun wrote: > level can be up to 5, but there are only four codebooks. > > Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t > [4][96]' > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/svq1enc.c | 6 +++--- > 1 file c

[FFmpeg-devel] [PATCH] svq1enc: fix out of bounds reads

2016-01-21 Thread Andreas Cadhalpun
level can be up to 5, but there are only four codebooks. Fixes ubsan runtime error: index 5 out of bounds for type 'int8_t [4][96]' Signed-off-by: Andreas Cadhalpun --- libavcodec/svq1enc.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/svq1enc.c b/libavcod