Closed Bug 1296467 Opened 10 years ago Closed 10 years ago

Null pointer crash in prefetcher

Categories

(Core :: Networking, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: billm, Assigned: billm)

Details

Attachments

(1 file)

Attached patch patch — — Splinter Review
This is kind of a follow-on to bug 598790. This crash happens to me in a local opt build when I browse nytimes.com. It doesn't happen in a nightly though. I'm not sure why. Anyway, I don't see any reason why prefetching can't be canceled before OnStartRequest. This adds a null check on mChannel, which is nulled out by CancelChannel. I wasn't entirely sure what to do about mShouldFireLoadEvent. The safest thing seems to be to fire it as far as I can tell.
Attachment #8782664 - Flags: review?(mcmanus)
Comment on attachment 8782664 [details] [diff] [review] patch Review of attachment 8782664 [details] [diff] [review]: ----------------------------------------------------------------- thanks bill. Dragana has been over there most recently.
Attachment #8782664 - Flags: review?(mcmanus) → review?(dd.mozilla)
You have hit one of this crashes cause by bug 1268962. The patch was backed out and fixed again (in the same bug). Thanks.
Attachment #8782664 - Flags: review?(dd.mozilla)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: