Closed Bug 851674 Opened 8 years ago Closed 8 years ago
Conent Utils: Don't dereference known-null pointer in ns Content Utils::Check For Sub Frame Drop
See bug 605991 comment 34 - we're hitting a crash because the code is trying to read a null pointer. Attached patch fixes it to what it probably meant to be. (Asking smaug based on original review, since neil doesn't seem to be a peer in this area)
Attachment #725607 - Flags: review?(bugs)
Comment on attachment 725607 [details] [diff] [review] Don't dereference null target in nsContentUtils::CheckForSubFrameDrop Just remove && !target->OwnerDoc() OwnerDoc() returns never null.
Attachment #725607 - Flags: review?(bugs) → review+
https://hg.mozilla.org/integration/mozilla-inbound/rev/9d2b8487146c (... It's been a while since I pushed, hopefully I didn't screw up...)
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.