Re: [FFmpeg-devel] [PATCH] exr: fix out of bounds read in get_code

2015-12-18 Thread Andreas Cadhalpun
On 13.12.2015 23:37, Andreas Cadhalpun wrote: > This macro unconditionally used out[-1], which causes an out of bounds > read, if out is the very beginning of the buffer. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/exr.c | 10 +- > 1 file changed, 5 insertions(+), 5 deletions

[FFmpeg-devel] [PATCH] exr: fix out of bounds read in get_code

2015-12-13 Thread Andreas Cadhalpun
This macro unconditionally used out[-1], which causes an out of bounds read, if out is the very beginning of the buffer. Signed-off-by: Andreas Cadhalpun --- libavcodec/exr.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index