Date: Mon, 11 Jun 2018 23:36:45 +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: r472217 - in head/www/waterfox: . files Message-ID: <201806112336.w5BNajie070213@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Mon Jun 11 23:36:45 2018 New Revision: 472217 URL: https://svnweb.freebsd.org/changeset/ports/472217 Log: www/waterfox: apply FF61 fix Added: head/www/waterfox/files/patch-bug1467938 (contents, props changed) Modified: head/www/waterfox/Makefile (contents, props changed) Modified: head/www/waterfox/Makefile ============================================================================== --- head/www/waterfox/Makefile Mon Jun 11 23:29:13 2018 (r472216) +++ head/www/waterfox/Makefile Mon Jun 11 23:36:45 2018 (r472217) @@ -3,7 +3,7 @@ PORTNAME= waterfox DISTVERSION= 56.2.0-31 DISTVERSIONSUFFIX= -gf435a827f82ac -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= www ipv6 MAINTAINER= jbeich@FreeBSD.org Added: head/www/waterfox/files/patch-bug1467938 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1467938 Mon Jun 11 23:36:45 2018 (r472217) @@ -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?201806112336.w5BNajie070213>