From owner-svn-ports-all@freebsd.org Mon Jun 11 23:39:41 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5744F100F9FC; Mon, 11 Jun 2018 23:39:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 09EC1856B2; Mon, 11 Jun 2018 23:39:41 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DF1A722420; Mon, 11 Jun 2018 23:39:40 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5BNdeUl070727; Mon, 11 Jun 2018 23:39:40 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5BNdeDt070726; Mon, 11 Jun 2018 23:39:40 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201806112339.w5BNdeDt070726@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Mon, 11 Jun 2018 23:39:40 +0000 (UTC) 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 X-SVN-Group: ports-branches X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in branches/2018Q2/www/waterfox: . files X-SVN-Commit-Revision: 472220 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Jun 2018 23:39:41 -0000 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] +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.