Closed Bug 46904 Opened 25 years ago Closed 25 years ago

xptiInterfaceInfo::GetIIDForParam crash on unresolved ref

Categories

(Core :: XPConnect, defect, P3)

x86
All
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: jband_mozilla, Assigned: jband_mozilla)

Details

(Keywords: crash, Whiteboard: nsbeta2)

Attachments

(1 file)

xptiInterfaceInfo::GetIIDForParam fails to check that a pointer to another interface is not null before using the pointer. This will crash on something as simple as a missing xpt file. Patch coming.
Attached patch proposed fixSplinter Review
Warren, a= ?
Status: NEW → ASSIGNED
Keywords: crash, patch
Whiteboard: nsbeta3
Well, this is a potential crasher with a simple and safe fix. How about nsbeta2?
Whiteboard: nsbeta3 → nsbeta2
Go for it.
fix checked in to m17 branch and trunk.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Verifying -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: