svn commit: r481043 - in head/multimedia/libvpx: . files

Jan Beich jbeich at FreeBSD.org
Mon Oct 1 17:21:33 UTC 2018


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 at 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


More information about the svn-ports-all mailing list