Closed
Bug 1967261
Opened 10 months ago
Closed 10 months ago
Create icon channels with the correct LoadInfo from the beginning
Categories
(Core :: Networking, task, P2)
Core
Networking
Tracking
()
RESOLVED
FIXED
140 Branch
| Tracking | Status | |
|---|---|---|
| firefox140 | --- | fixed |
People
(Reporter: tschuster, Assigned: tschuster)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(2 files)
The GTK nsIconChannel implementation first creates a channel using a dummy LoadInfo and immediately afterwards the actual LoadInfo is set. The Android implementation works similarly.
We do the same thing in the somewhat unrelated PageIconProtocolHandler. There was some discussion about this behavior when fixing a null deref in bug 1627644. I don't really see any real justification for why we don't just create the channel with the correct LoadInfo directly there either.
| Assignee | ||
Updated•10 months ago
|
Blocks: CVE-2025-6427
| Assignee | ||
Comment 1•10 months ago
|
||
Updated•10 months ago
|
Assignee: nobody → tschuster
Status: NEW → ASSIGNED
| Assignee | ||
Comment 2•10 months ago
|
||
Updated•10 months ago
|
Attachment #9488853 -
Attachment description: WIP: Bug 1967261 - Create channel with the correct nsILoadInfo from the beginning in PageIconProtocolHandler. r?#necko-reviewers → Bug 1967261 - Create channel with the correct nsILoadInfo from the beginning in PageIconProtocolHandler. r?#necko-reviewers
Pushed by tschuster@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ed3f79cc6c40
Create nsIconChannel with the correct nsILoadInfo from the beginning. r=necko-reviewers,kershaw
https://hg.mozilla.org/integration/autoland/rev/16681958c0ea
Create channel with the correct nsILoadInfo from the beginning in PageIconProtocolHandler. r=necko-reviewers,places-reviewers,kershaw,Standard8
Comment 4•10 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/ed3f79cc6c40
https://hg.mozilla.org/mozilla-central/rev/16681958c0ea
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
status-firefox140:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 140 Branch
Updated•10 months ago
|
QA Whiteboard: [qa-triage-done-c141/b140]
You need to log in
before you can comment on or make changes to this bug.
Description
•