Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 17:21:32 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r481043 - in head/multimedia/libvpx: . files
Message-ID:  <201810011721.w91HLWBV064178@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Oct  1 17:21:32 2018
New Revision: 481043
URL: https://svnweb.freebsd.org/changeset/ports/481043

Log:
  multimedia/libvpx: backport use-after-free fix
  
  https://bugs.chromium.org/p/chromium/issues/detail?id=842265
  
  Inspired by:	Mozilla
  Obtained from:	upstream (Chromium 68, Firefox 62)

Added:
  head/multimedia/libvpx/files/patch-mozilla-bug1480092   (contents, props changed)
Modified:
  head/multimedia/libvpx/Makefile   (contents, props changed)

Modified: head/multimedia/libvpx/Makefile
==============================================================================
--- head/multimedia/libvpx/Makefile	Mon Oct  1 17:18:19 2018	(r481042)
+++ head/multimedia/libvpx/Makefile	Mon Oct  1 17:21:32 2018	(r481043)
@@ -4,7 +4,7 @@
 PORTNAME=	libvpx
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.7.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich@FreeBSD.org

Added: head/multimedia/libvpx/files/patch-mozilla-bug1480092
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libvpx/files/patch-mozilla-bug1480092	Mon Oct  1 17:21:32 2018	(r481043)
@@ -0,0 +1,13 @@
+https://chromium.googlesource.com/webm/libvpx/+/52add5896661%5E!/
+
+--- vp8/common/postproc.c.orig	2018-01-24 22:25:44 UTC
++++ vp8/common/postproc.c
+@@ -65,7 +65,7 @@ void vp8_deblock(VP8_COMMON *cm, YV12_BUFFER_CONFIG *s
+   double level = 6.0e-05 * q * q * q - .0067 * q * q + .306 * q + .0065;
+   int ppl = (int)(level + .5);
+ 
+-  const MODE_INFO *mode_info_context = cm->show_frame_mi;
++  const MODE_INFO *mode_info_context = cm->mi;
+   int mbr, mbc;
+ 
+   /* The pixel thresholds are adjusted according to if or not the macroblock



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810011721.w91HLWBV064178>