Closed Bug 1462386 Opened 6 years ago Closed 6 years ago

Crash when extension sets proxy with password

Categories

(Core :: Security: PSM, defect)

60 Branch
Unspecified
Linux
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1444532

People

(Reporter: alex, Unassigned)

Details

Crash Data

Attachments

(1 file)

This bug was filed from the Socorro interface and is
report bp-37fe36e5-4f40-480d-9db1-ead971180517.
=============================================================

Setting a SOCKS proxy with password in browser.proxy.onRequest WebExtension API crashes the browser after navigating a while. Same with legacy nsIProtocolProxyService API.

Can be reproduced by installing the attached xpi via about:debugging and opening several sites in different tabs (navigating, basically), assuming Tor SOCKS is listening on port 9050. Usually crashes in less than 2 minutes in the same place as the above crash report, but sometimes also in other parts of the code: https://crash-stats.mozilla.com/report/index/b54130ed-c948-4994-a107-f8e271180517.

Reproduced in 60, but not >= 61. I suspect bug 1444532 fixed it.
This is called from PSM code, which holds the cx which appears to be being inappropriately deref'd
Component: Networking → Security: PSM
I asked to uplift the patch in bug 1444532.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: