[FFmpeg-devel] [PATCH] ffplay: fix sws_scale possible out of bounds array access
Michael Niedermayer
michael at niedermayer.cc
Sat Dec 10 21:26:05 EET 2016
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(-)
LGTM
thx
also please backport to the releases
thx
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Concerning the gods, I have no means of knowing whether they exist or not
or of what sort they may be, because of the obscurity of the subject, and
the brevity of human life -- Protagoras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20161210/c359c91f/attachment.sig>
More information about the ffmpeg-devel
mailing list