Re: [FFmpeg-devel] [PATCH] ffplay: fix sws_scale possible out of bounds array access

2016-12-10 Thread Michael Niedermayer
On Sat, Dec 10, 2016 at 11:39:25PM +0100, Marton Balint wrote: > > On Sat, 10 Dec 2016, Michael Niedermayer wrote: > > >On Sat, Dec 10, 2016 at 01:06:59PM +0100, Marton Balint wrote: > >>As I used simple RGBA formats for subtitles and for the video texture if > >>avfilter is disabled I kind of as

Re: [FFmpeg-devel] [PATCH] ffplay: fix sws_scale possible out of bounds array access

2016-12-10 Thread Marton Balint
On Sat, 10 Dec 2016, Michael Niedermayer wrote: On Sat, Dec 10, 2016 at 01:06:59PM +0100, Marton Balint wrote: As I used simple RGBA formats for subtitles and for the video texture if avfilter is disabled I kind of assumed that sws_scale won't access data pointers and strides above index 0, bu

Re: [FFmpeg-devel] [PATCH] ffplay: fix sws_scale possible out of bounds array access

2016-12-10 Thread Michael Niedermayer
On Sat, Dec 10, 2016 at 01:06:59PM +0100, Marton Balint wrote: > As I used simple RGBA formats for subtitles and for the video texture if > avfilter is disabled I kind of assumed that sws_scale won't access data > pointers and strides above index 0, but apparently that is not the case. > > Fixes C

[FFmpeg-devel] [PATCH] ffplay: fix sws_scale possible out of bounds array access

2016-12-10 Thread Marton Balint
As I used simple RGBA formats for subtitles and for the video texture if avfilter is disabled I kind of assumed that sws_scale won't access data pointers and strides above index 0, but apparently that is not the case. Fixes Coverity CID 1396737, 1396738, 1396739, 1396740. Signed-off-by: Marton Ba