diff options
author | Martin Stransky <stransky@redhat.com> | 2021-01-26 23:47:03 +0100 |
---|---|---|
committer | Martin Stransky <stransky@redhat.com> | 2021-01-26 23:47:03 +0100 |
commit | 9892072ed8d2e5ea9481e7db9911cbae09b4cfc1 (patch) | |
tree | 399bcd904ca53f2b61e373d30ae98f1b39e9bc92 /mozilla-1679933.patch | |
parent | - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild (diff) | |
download | librewolf-fedora-ff-9892072ed8d2e5ea9481e7db9911cbae09b4cfc1.tar.gz librewolf-fedora-ff-9892072ed8d2e5ea9481e7db9911cbae09b4cfc1.tar.bz2 librewolf-fedora-ff-9892072ed8d2e5ea9481e7db9911cbae09b4cfc1.zip |
Added fix for mozbz#1679933 - startup crash
Diffstat (limited to 'mozilla-1679933.patch')
-rw-r--r-- | mozilla-1679933.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mozilla-1679933.patch b/mozilla-1679933.patch new file mode 100644 index 0000000..f49a24c --- /dev/null +++ b/mozilla-1679933.patch @@ -0,0 +1,16 @@ +diff --git a/netwerk/base/nsNetUtil.cpp b/netwerk/base/nsNetUtil.cpp +--- a/netwerk/base/nsNetUtil.cpp ++++ b/netwerk/base/nsNetUtil.cpp +@@ -2714,9 +2714,8 @@ + MOZ_ASSERT(XRE_IsParentProcess()); + MOZ_ASSERT(NS_IsMainThread()); + +- nsresult rv; +- nsCOMPtr<nsISupports> psm = do_GetService(PSM_COMPONENT_CONTRACTID, &rv); +- MOZ_ASSERT(NS_SUCCEEDED(rv)); ++ DebugOnly<bool> rv = EnsureNSSInitializedChromeOrContent(); ++ MOZ_ASSERT(rv); + + #ifndef MOZ_NEW_CERT_STORAGE + nsCOMPtr<nsISupports> cbl = do_GetService(NS_CERTBLOCKLIST_CONTRACTID); + |