Closed Bug 1664514 Opened 4 years ago Closed 4 years ago

Crashes when fetching local .url files on Windows with privacy.file_unique_origin off

Categories

(Core :: DOM: Networking, defect, P2)

x86_64
Windows 10
defect

Tracking

()

VERIFIED FIXED
82 Branch
Tracking Status
firefox82 --- verified

People

(Reporter: saschanaz, Assigned: saschanaz)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [necko-triaged])

Attachments

(2 files)

Attached file file-url-crash.zip
  1. Set privacy.file_unique_origin value to false
  2. Unzip the attachment
  3. Open url-fetch.html and see it crashes

The failure comes from https://searchfox.org/mozilla-central/rev/5d45da52f2fa423c9f4505ede5d1a5c7d48163fc/netwerk/protocol/http/nsCORSListenerProxy.cpp#742, and line 740 seems to mistakenly checking a wrong pointer.

Assignee: nobody → krosylight
Status: NEW → ASSIGNED

Set this to S4 since this crash require setting privacy.file_unique_origin to false.

Severity: -- → S4
Priority: -- → P2
Whiteboard: [necko-triaged]
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/633d2aa345a3
Proper null checks in CORS/fetch r=valentin,necko-reviewers
Pushed by krosylight@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/20895edea1a7
Proper null checks in CORS/fetch r=valentin,necko-reviewers
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 82 Branch
Flags: needinfo?(krosylight)
QA Whiteboard: [qa-82b-p2]

Instant [tab]Crash on 81.0.1 with the attached TC/scenario on Windows10.
Verified with 82.0b7, page loaded and message displayed; no crashes or hangs occur.

Status: RESOLVED → VERIFIED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: