[FFmpeg-devel] [PATCH] ffplay: fix sws_scale possible out of bounds array access
michael at niedermayer.cc
Sun Dec 11 01:17:35 EET 2016
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 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 Balint <cus at passwd.hu>
> >> ffplay.c | 16 ++++++++--------
> >> 1 file changed, 8 insertions(+), 8 deletions(-)
> >also please backport to the releases
> Pushed to master and 3.2. 3.1 and before is using the SDL1 version
> which is not affected.
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Many that live deserve death. And some that die deserve life. Can you give
it to them? Then do not be too eager to deal out death in judgement. For
even the very wise cannot see all ends. -- Gandalf
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 181 bytes
Desc: Digital signature
More information about the ffmpeg-devel