Re: [FFmpeg-devel] [PATCH 3/7] vorbis: Reorder conditions to avoid possible overread

2017-10-17 Thread Rostislav Pehlivanov
On 17 October 2017 at 23:11, Mark Thompson wrote: > This can trigger a single-byte overread if the codebook has the maximum > number of entries. > > Fixes #6743. > --- > libavcodec/vorbis.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

[FFmpeg-devel] [PATCH 3/7] vorbis: Reorder conditions to avoid possible overread

2017-10-17 Thread Mark Thompson
This can trigger a single-byte overread if the codebook has the maximum number of entries. Fixes #6743. --- libavcodec/vorbis.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/vorbis.c b/libavcodec/vorbis.c index 399020eec5..ce23b947f0 100644 ---