Re: [FFmpeg-devel] [PATCH] dvdsubdec: validate offset2 similar to offset1

2015-11-10 Thread Andreas Cadhalpun
On 11.11.2015 00:20, Michael Niedermayer wrote: > On Tue, Nov 10, 2015 at 11:30:05PM +0100, Andreas Cadhalpun wrote: >> If it is negative, it causes segmentation faults in decode_rle. >> >> Signed-off-by: Andreas Cadhalpun >> --- >> libavcodec/dvdsubdec.c | 2 +- >> 1 file changed, 1 insertion(+)

Re: [FFmpeg-devel] [PATCH] dvdsubdec: validate offset2 similar to offset1

2015-11-10 Thread Michael Niedermayer
On Tue, Nov 10, 2015 at 11:30:05PM +0100, Andreas Cadhalpun wrote: > If it is negative, it causes segmentation faults in decode_rle. > > Signed-off-by: Andreas Cadhalpun > --- > libavcodec/dvdsubdec.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) should be ok [...] -- Michael Gn