ports/contrib (3.3): ffmpeg3: add missing patch
commit f9c4cd216f6471e6af47eb047a76d91385ba518d Author: Danny Rawlins <monster.romster@gmail.com> Date: Sat Apr 28 11:28:35 2018 +1000 ffmpeg3: add missing patch diff --git a/ffmpeg3/CVE-2018-6621.patch b/ffmpeg3/CVE-2018-6621.patch new file mode 100644 index 00000000..8c9e4dd0 --- /dev/null +++ b/ffmpeg3/CVE-2018-6621.patch @@ -0,0 +1,11 @@ +--- a/libavcodec/utvideodec.c 2017-12-11 05:35:09.000000000 +0800 ++++ b/libavcodec/utvideodec.c 2018-02-06 15:54:54.872000000 +0800 +@@ -561,7 +561,7 @@ static int decode_frame(AVCodecContext * + for (j = 0; j < c->slices; j++) { + slice_end = bytestream2_get_le32u(&gb); + if (slice_end < 0 || slice_end < slice_start || +- bytestream2_get_bytes_left(&gb) < slice_end) { ++ bytestream2_get_bytes_left(&gb) < slice_end + 1024LL) { + av_log(avctx, AV_LOG_ERROR, "Incorrect slice size\n"); + return AVERROR_INVALIDDATA; + }
participants (1)
-
crux@crux.nu