From f93674fb9c909f272a86347b86ddff7a7974bcb5 Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Sun, 10 Feb 2019 22:28:16 +0000 Subject: multimedia/mythtv: Update to 30.0 and unbreak Changes: https://www.mythtv.org/wiki/Release_Notes_-_30 PR: 234551 Submitted by: fernando.e.vilas@gmail.com --- multimedia/mythtv/files/patch-CVE-2017-14059 | 34 ---------------------------- 1 file changed, 34 deletions(-) delete mode 100644 multimedia/mythtv/files/patch-CVE-2017-14059 (limited to 'multimedia/mythtv/files/patch-CVE-2017-14059') diff --git a/multimedia/mythtv/files/patch-CVE-2017-14059 b/multimedia/mythtv/files/patch-CVE-2017-14059 deleted file mode 100644 index fd62fe302a2a..000000000000 --- a/multimedia/mythtv/files/patch-CVE-2017-14059 +++ /dev/null @@ -1,34 +0,0 @@ -From 98e177c7288574b336d80618f4ec5d1f94243070 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?=E5=AD=99=E6=B5=A9=20and=20=E5=BC=A0=E6=B4=AA=E4=BA=AE=28?= - =?UTF-8?q?=E6=9C=9B=E5=88=9D=29?= -Date: Fri, 25 Aug 2017 01:15:27 +0200 -Subject: [PATCH] avformat/cinedec: Fix DoS due to lack of eof check - -Fixes: loop.cine - -Found-by: Xiaohei and Wangchu from Alibaba Security Team -Signed-off-by: Michael Niedermayer -(cherry picked from commit 7e80b63ecd259d69d383623e75b318bf2bd491f6) -Signed-off-by: Michael Niedermayer ---- - libavformat/cinedec.c | 6 +++++- - 1 file changed, 5 insertions(+), 1 deletion(-) - -diff --git libavformat/cinedec.c libavformat/cinedec.c -index 32cccf566b4..c615d4fc497 100644 ---- external/FFmpeg/libavformat/cinedec.c -+++ external/FFmpeg/libavformat/cinedec.c -@@ -267,8 +267,12 @@ static int cine_read_header(AVFormatContext *avctx) - - /* parse image offsets */ - avio_seek(pb, offImageOffsets, SEEK_SET); -- for (i = 0; i < st->duration; i++) -+ for (i = 0; i < st->duration; i++) { -+ if (avio_feof(pb)) -+ return AVERROR_INVALIDDATA; -+ - av_add_index_entry(st, avio_rl64(pb), i, 0, 0, AVINDEX_KEYFRAME); -+ } - - return 0; - } -- cgit v1.2.3