Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2018 00:21:13 +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: r473937 - in head/www/waterfox: . files
Message-ID:  <201807050021.w650LDDT040947@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <kyle@nonpolynomial.com>
+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))) {



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