Closed Bug 405777 Opened 17 years ago Closed 17 years ago

calUtils' doQueryInterface runs into infinite recursion

Categories

(Calendar :: Internal Components, defect)

defect
Not set
blocker

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dbo, Assigned: dbo)

Details

Attachments

(1 file)

If the demanded interface isn't found the mentioned function runs into infinite recursion.
Flags: blocking-calendar0.8+
Attached patch fixSplinter Review
We need to follow the prototype chain, thus callers of doQueryInterface need to pass their own prototype (i.e. the prototype QueryInterface belongs to).
Assignee: nobody → daniel.boelzle
Status: NEW → ASSIGNED
Attachment #290523 - Flags: review?(philipp)
Comment on attachment 290523 [details] [diff] [review]
fix

r=philipp
Attachment #290523 - Flags: review?(philipp) → review+
Checked in on HEAD and MOZILLA_1_8_BRANCH.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → 0.8
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.