Closed Bug 698656 Opened 13 years ago Closed 13 years ago

mParent pointer should not be in nsSHEntryShared

Categories

(Core :: DOM: Navigation, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla10

People

(Reporter: justin.lebar+bug, Assigned: justin.lebar+bug)

References

Details

Attachments

(1 file)

whoaboy, this is bad.
Blocks: 646641
The problem here is illustrated in bug 687710 comment 41.
Attached patch Patch v1Splinter Review
I thought about writing a test for this, but I'm not sure if there are web-visible effects of this change. It depends on who reads the parent SHEntry's URI, I guess...
Attachment #570910 - Flags: review?(bzbarsky)
Comment on attachment 570910 [details] [diff] [review] Patch v1 Please fix the copy constructor too. It needs to copy mParent, right? r=me with that.
Attachment #570910 - Flags: review?(bzbarsky) → review+
What about the copy constructor? See comment 3!
I fixed it! But then I didn't qref, and I pushed my patch to my inbound tree...ack.
Assignee: nobody → justin.lebar+bug
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla10
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: