Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
MozillaFirefox.11882
mozilla-aarch64-startup-crash.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File mozilla-aarch64-startup-crash.patch of Package MozillaFirefox.11882
# HG changeset patch # User msirringhaus@suse.de # Date 1560926123 -7200 # Wed Jun 19 08:35:23 2019 +0200 # Node ID 4747ae34909fbc0301c16c9aa871b0665c830b55 # Parent 16fa64d2cc316968ab8e7f91db17d216e51d23a1 bsc#991344 - Rpi3: Firefox crashes after a few seconds of usage bmo#1302554 - ARM/AARCH64: Firefox crashes on NULL nsIChannel** result pointer in nsIOService::NewChannelFromURIWithProxyFlagsInternal() diff --git a/netwerk/base/nsIOService.cpp b/netwerk/base/nsIOService.cpp --- a/netwerk/base/nsIOService.cpp +++ b/netwerk/base/nsIOService.cpp @@ -875,18 +875,24 @@ nsresult nsIOService::NewChannelFromURIW "doesn't support nsIUploadChannel2. An extension has " "supplied a non-functional http protocol handler. This will " "break behavior and in future releases not work at all."); } gHasWarnedUploadChannel2 = true; } } - channel.forget(result); - return NS_OK; +#if defined(__aarch64__) + if (result) { + channel.forget(result); + } +#else + channel.forget(result); +#endif + return NS_OK; } NS_IMETHODIMP nsIOService::NewChannelFromURIWithProxyFlags2( nsIURI *aURI, nsIURI *aProxyURI, uint32_t aProxyFlags, nsIDOMNode *aLoadingNode, nsIPrincipal *aLoadingPrincipal, nsIPrincipal *aTriggeringPrincipal, uint32_t aSecurityFlags, uint32_t aContentPolicyType, nsIChannel **result) {
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor