Closed Bug 6534 Opened 26 years ago Closed 26 years ago

nsComponentManager::RegisterComponent returns bogus value

Categories

(Core :: XPCOM, defect, P1)

All
Other
defect

Tracking

()

RESOLVED FIXED

People

(Reporter: erik, Assigned: dp)

Details

nsComponentManager::RegisterComponent returns a bogus value. The manual registrations in NS_SetupRegistry do not check the return value, so they never notice, but I recently added some return value checking code, and I did bump into it. nsComponentManagerImpl::HashProgID is returning an error if aProgID is NULL.
Status: NEW → ASSIGNED
Component: XPCOM Registry → XPCOM
Priority: P3 → P1
Target Milestone: M7
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Returning proper values now. Added a check to make sure we do Progid caching only if progid is not null.
You need to log in before you can comment on or make changes to this bug.