Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jun 2018 23:39:40 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r472220 - in branches/2018Q2/www/waterfox: . files
Message-ID:  <201806112339.w5BNdeDt070726@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Mon Jun 11 23:39:40 2018
New Revision: 472220
URL: https://svnweb.freebsd.org/changeset/ports/472220

Log:
  MFH: r472217
  
  www/waterfox: apply FF61 fix
  
  Approved by:	ports-secteam blanket

Added:
  branches/2018Q2/www/waterfox/files/patch-bug1467938
     - copied unchanged from r472217, head/www/waterfox/files/patch-bug1467938
Modified:
  branches/2018Q2/www/waterfox/Makefile
Directory Properties:
  branches/2018Q2/   (props changed)

Modified: branches/2018Q2/www/waterfox/Makefile
==============================================================================
--- branches/2018Q2/www/waterfox/Makefile	Mon Jun 11 23:37:16 2018	(r472219)
+++ branches/2018Q2/www/waterfox/Makefile	Mon Jun 11 23:39:40 2018	(r472220)
@@ -3,7 +3,7 @@
 PORTNAME=	waterfox
 DISTVERSION=	56.2.0-31
 DISTVERSIONSUFFIX=	-gf435a827f82ac
-PORTREVISION=	5
+PORTREVISION=	6
 CATEGORIES=	www ipv6
 
 MAINTAINER=	jbeich@FreeBSD.org

Copied: branches/2018Q2/www/waterfox/files/patch-bug1467938 (from r472217, head/www/waterfox/files/patch-bug1467938)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2018Q2/www/waterfox/files/patch-bug1467938	Mon Jun 11 23:39:40 2018	(r472220, copy of r472217, head/www/waterfox/files/patch-bug1467938)
@@ -0,0 +1,43 @@
+commit e390e1f2e6b3
+Author: Nils Ohlmeier [:drno] <drno@ohlmeier.org>
+Date:   Fri Jun 8 19:49:40 2018 -0700
+
+    Bug 1467938 - Fix out-of-bounds memory access in WebRTC VP9 Missing Frame Processing. r=ng, a=RyanVM
+    
+    --HG--
+    extra : source : 44ae071a453f285f841d4c3cc13e0b21427ace92
+---
+ .../modules/video_coding/rtp_frame_reference_finder.cc      | 13 +++++++++++--
+ 1 file changed, 11 insertions(+), 2 deletions(-)
+
+diff --git media/webrtc/trunk/webrtc/modules/video_coding/rtp_frame_reference_finder.cc media/webrtc/trunk/webrtc/modules/video_coding/rtp_frame_reference_finder.cc
+index 3d5283378fb57..c7b893cdd4565 100644
+--- media/webrtc/trunk/webrtc/modules/video_coding/rtp_frame_reference_finder.cc
++++ media/webrtc/trunk/webrtc/modules/video_coding/rtp_frame_reference_finder.cc
+@@ -434,8 +434,11 @@ void RtpFrameReferenceFinder::ManageFrameVp9(
+       LOG(LS_WARNING) << "Received keyframe without scalability structure";
+ 
+     frame->num_references = 0;
+-    GofInfo info = gof_info_.find(codec_header.tl0_pic_idx)->second;
+-    FrameReceivedVp9(frame->picture_id, &info);
++    auto gof_info_it = gof_info_.find(codec_header.tl0_pic_idx);
++    if (gof_info_it == gof_info_.end())
++      return;
++
++    FrameReceivedVp9(frame->picture_id, &gof_info_it->second);
+     CompletedFrameVp9(std::move(frame));
+     return;
+   }
+@@ -508,6 +511,12 @@ bool RtpFrameReferenceFinder::MissingRequiredFrameVp9(uint16_t picture_id,
+   size_t gof_idx = diff % info.gof->num_frames_in_gof;
+   size_t temporal_idx = info.gof->temporal_idx[gof_idx];
+ 
++  if (temporal_idx >= kMaxTemporalLayers) {
++    LOG(LS_WARNING) << "At most " << kMaxTemporalLayers << " temporal "
++                    << "layers are supported.";
++    return true;
++  }
++
+   // For every reference this frame has, check if there is a frame missing in
+   // the interval (|ref_pid|, |picture_id|) in any of the lower temporal
+   // layers. If so, we are missing a required frame.



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