svn commit: r481045 - in branches/2018Q4/multimedia/libvpx: . files

Jan Beich jbeich at FreeBSD.org
Mon Oct 1 17:23:43 UTC 2018


Author: jbeich
Date: Mon Oct  1 17:23:41 2018
New Revision: 481045
URL: https://svnweb.freebsd.org/changeset/ports/481045

Log:
  MFH: r481043
  
  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)
  Approved by:	ports-secteam blanket

Added:
  branches/2018Q4/multimedia/libvpx/files/patch-mozilla-bug1480092
     - copied unchanged from r481043, head/multimedia/libvpx/files/patch-mozilla-bug1480092
Modified:
  branches/2018Q4/multimedia/libvpx/Makefile
Directory Properties:
  branches/2018Q4/   (props changed)

Modified: branches/2018Q4/multimedia/libvpx/Makefile
==============================================================================
--- branches/2018Q4/multimedia/libvpx/Makefile	Mon Oct  1 17:22:02 2018	(r481044)
+++ branches/2018Q4/multimedia/libvpx/Makefile	Mon Oct  1 17:23:41 2018	(r481045)
@@ -4,7 +4,7 @@
 PORTNAME=	libvpx
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.7.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 
 MAINTAINER=	jbeich at FreeBSD.org

Copied: branches/2018Q4/multimedia/libvpx/files/patch-mozilla-bug1480092 (from r481043, head/multimedia/libvpx/files/patch-mozilla-bug1480092)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q4/multimedia/libvpx/files/patch-mozilla-bug1480092	Mon Oct  1 17:23:41 2018	(r481045, copy of r481043, head/multimedia/libvpx/files/patch-mozilla-bug1480092)
@@ -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


More information about the svn-ports-all mailing list