Re: [FFmpeg-devel] [PATCH] avcodec/dvdsubdec: fix out of bounds accesses

2015-01-04 Thread Michael Niedermayer
On Mon, Jan 05, 2015 at 04:45:26AM +0100, wm4 wrote: > The code blindly trusted buffer offsets read from the file in the RLE > decoder. Explicitly check the offset. Also error out on other RLE > decoding errors. > --- > libavcodec/dvdsubdec.c | 13 + > 1 file changed, 9 insertions(+),

[FFmpeg-devel] [PATCH] avcodec/dvdsubdec: fix out of bounds accesses

2015-01-04 Thread wm4
The code blindly trusted buffer offsets read from the file in the RLE decoder. Explicitly check the offset. Also error out on other RLE decoding errors. --- libavcodec/dvdsubdec.c | 13 + 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/libavcodec/dvdsubdec.c b/libavcodec/