Hello community, here is the log from the commit of package ffmpeg for openSUSE:Factory checked in at 2017-12-09 20:26:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ffmpeg (Old) and /work/SRC/openSUSE:Factory/.ffmpeg.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ffmpeg" Sat Dec 9 20:26:30 2017 rev:37 rq:555212 version:3.4 Changes: -------- --- /work/SRC/openSUSE:Factory/ffmpeg/ffmpeg.changes 2017-12-03 10:05:08.701043241 +0100 +++ /work/SRC/openSUSE:Factory/.ffmpeg.new/ffmpeg.changes 2017-12-09 20:26:36.092082462 +0100 @@ -1,0 +2,6 @@ +Fri Dec 1 10:55:08 UTC 2017 - [email protected] + +- Add 0001-avcodec-x86-mpegvideodsp-Fix-signedness-bug-in-need_.patch + [boo#1070762] + +------------------------------------------------------------------- New: ---- 0001-avcodec-x86-mpegvideodsp-Fix-signedness-bug-in-need_.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ffmpeg.spec ++++++ --- /var/tmp/diff_new_pack.5hmGha/_old 2017-12-09 20:26:36.868045503 +0100 +++ /var/tmp/diff_new_pack.5hmGha/_new 2017-12-09 20:26:36.872045311 +0100 @@ -49,6 +49,7 @@ Patch2: ffmpeg-arm6l.diff Patch4: ffmpeg-new-coder-errors.diff Patch5: ffmpeg-codec-choice.diff +Patch6: 0001-avcodec-x86-mpegvideodsp-Fix-signedness-bug-in-need_.patch BuildRequires: ladspa-devel BuildRequires: libgsm-devel BuildRequires: libmp3lame-devel @@ -390,7 +391,7 @@ %prep %setup -q -%patch -P 1 -P 2 -P 4 -P 5 -p1 +%patch -P 1 -P 2 -P 4 -P 5 -P 6 -p1 %build perl -i -pe 's{__TIME__|__DATE__}{"$&"}g' *.c ++++++ 0001-avcodec-x86-mpegvideodsp-Fix-signedness-bug-in-need_.patch ++++++ >From 58cf31cee7a456057f337b3102a03206d833d5e8 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer <[email protected]> Date: Mon, 13 Nov 2017 20:47:48 +0100 Subject: [PATCH] avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu Fixes: out of array read Fixes: 3516/attachment-311488.dat Found-by: Insu Yun, Georgia Tech. Tested-by: [email protected] Signed-off-by: Michael Niedermayer <[email protected]> --- libavcodec/x86/mpegvideodsp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/mpegvideodsp.c b/libavcodec/x86/mpegvideodsp.c index e0498f3849..6009b64e07 100644 --- a/libavcodec/x86/mpegvideodsp.c +++ b/libavcodec/x86/mpegvideodsp.c @@ -52,8 +52,9 @@ static void gmc_mmx(uint8_t *dst, uint8_t *src, const int dyh = (dyy - (1 << (16 + shift))) * (h - 1); const int dxh = dxy * (h - 1); const int dyw = dyx * (w - 1); - int need_emu = (unsigned) ix >= width - w || - (unsigned) iy >= height - h; + int need_emu = (unsigned) ix >= width - w || width < w || + (unsigned) iy >= height - h || height< h + ; if ( // non-constant fullpel offset (3% of blocks) ((ox ^ (ox + dxw)) | (ox ^ (ox + dxh)) | (ox ^ (ox + dxw + dxh)) | -- 2.15.0
