From owner-svn-ports-head@freebsd.org Thu Jul 5 00:21:14 2018 Return-Path: Delivered-To: svn-ports-head@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 851C8102CCB7; Thu, 5 Jul 2018 00:21:14 +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 370717B080; Thu, 5 Jul 2018 00:21:14 +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 183BD12778; Thu, 5 Jul 2018 00:21:14 +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 w650LDM7040949; Thu, 5 Jul 2018 00:21:13 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w650LDDT040947; Thu, 5 Jul 2018 00:21:13 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201807050021.w650LDDT040947@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Thu, 5 Jul 2018 00:21:13 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r473937 - in head/www/waterfox: . files X-SVN-Group: ports-head X-SVN-Commit-Author: jbeich X-SVN-Commit-Paths: in head/www/waterfox: . files X-SVN-Commit-Revision: 473937 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2018 00:21:14 -0000 Author: jbeich Date: Thu Jul 5 00:21:13 2018 New Revision: 473937 URL: https://svnweb.freebsd.org/changeset/ports/473937 Log: www/waterfox: apply some FF61 fix Added: head/www/waterfox/files/patch-bug1469879 (contents, props changed) Modified: head/www/waterfox/Makefile (contents, props changed) Modified: head/www/waterfox/Makefile ============================================================================== --- head/www/waterfox/Makefile Wed Jul 4 23:53:05 2018 (r473936) +++ head/www/waterfox/Makefile Thu Jul 5 00:21:13 2018 (r473937) @@ -3,6 +3,7 @@ PORTNAME= waterfox DISTVERSION= 56.2.1-55 DISTVERSIONSUFFIX= -g6395bf177f76a +PORTREVISION= 1 CATEGORIES= www ipv6 MAINTAINER= jbeich@FreeBSD.org Added: head/www/waterfox/files/patch-bug1469879 ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/waterfox/files/patch-bug1469879 Thu Jul 5 00:21:13 2018 (r473937) @@ -0,0 +1,44 @@ +commit 9d9ab00e672b +Author: Kyle Machulis +Date: Mon Jun 25 16:59:08 2018 -0700 + + Bug 1469879 - Add check for closed socket on Multicast IPC parent funcs. r=baku, a=lizzard + + MozReview-Commit-ID: CaNYPtgFz87 + + --HG-- + extra : source : ca98b6f47b4e33673291a4dc2a4ebca28ce6db00 +--- + dom/network/UDPSocketParent.cpp | 12 ++++++++++++ + 1 file changed, 12 insertions(+) + +diff --git dom/network/UDPSocketParent.cpp dom/network/UDPSocketParent.cpp +index 5198c4be50c06..174d1e87b13e1 100644 +--- dom/network/UDPSocketParent.cpp ++++ dom/network/UDPSocketParent.cpp +@@ -450,6 +450,12 @@ mozilla::ipc::IPCResult + UDPSocketParent::RecvJoinMulticast(const nsCString& aMulticastAddress, + const nsCString& aInterface) + { ++ if (!mSocket) { ++ NS_WARNING("multicast socket is closed"); ++ FireInternalError(__LINE__); ++ return IPC_OK(); ++ } ++ + nsresult rv = mSocket->JoinMulticast(aMulticastAddress, aInterface); + + if (NS_WARN_IF(NS_FAILED(rv))) { +@@ -463,6 +469,12 @@ mozilla::ipc::IPCResult + UDPSocketParent::RecvLeaveMulticast(const nsCString& aMulticastAddress, + const nsCString& aInterface) + { ++ if (!mSocket) { ++ NS_WARNING("multicast socket is closed"); ++ FireInternalError(__LINE__); ++ return IPC_OK(); ++ } ++ + nsresult rv = mSocket->LeaveMulticast(aMulticastAddress, aInterface); + + if (NS_WARN_IF(NS_FAILED(rv))) {