Closed
Bug 398403
Opened 19 years ago
Closed 19 years ago
Cleanup remaining uses of nsIBadCertListener in Toolkit
Categories
(Toolkit Graveyard :: Security, defect)
Toolkit Graveyard
Security
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta1
People
(Reporter: KaiE, Assigned: dveditz)
Details
Attachments
(1 file)
|
882 bytes,
patch
|
mconnor
:
review+
mconnor
:
approval1.9+
|
Details | Diff | Splinter Review |
This morning I landed bug 327181. As part of this I removed nsIBadCertListener.
Afterwards I did another search for this interface across our sources and I realized I missed something in toolkit:
mozilla/toolkit/mozapps/shared/src/badCertHandler.js: * This class implements nsIBadCertListener. It's job is to prevent "bad cert"
mozilla/toolkit/mozapps/shared/src/badCertHandler.js: if (!iid.equals(Components.interfaces.nsIBadCertListener) &&
mozilla/toolkit/mozapps/update/src/nsUpdateService.js.in: this._request.channel.notificationCallbacks = new BadCertHandler();
mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in: request.channel.notificationCallbacks = new BadCertHandler();
mozilla/toolkit/mozapps/extensions/src/nsExtensionManager.js.in: // BadCertHandler would prevent getting this far). Update checks will
mozilla/toolkit/mozapps/extensions/src/nsBlocklistService.js: request.channel.notificationCallbacks = new BadCertHandler();
mozilla/toolkit/mozapps/shared/src/badCertHandler.js:function BadCertHandler() {
mozilla/toolkit/mozapps/shared/src/badCertHandler.js:BadCertHandler.prototype = {
This code will probably trigger a runtime JS exception, because the interface reference from JS is gone.
As an immediate fix, I'll attach a patch that removes the interface reference.
Next we should verify whether the BadCertHandler can go away completely.
Flags: blocking1.9?
| Reporter | ||
Comment 1•19 years ago
|
||
Attachment #283359 -
Flags: review?(mconnor)
Attachment #283359 -
Flags: approval1.9?
| Reporter | ||
Updated•19 years ago
|
Summary: Cleanup remaining uses of nsIBadCertListener → Cleanup remaining uses of nsIBadCertListener in Toolkit
Updated•19 years ago
|
Attachment #283359 -
Flags: review?(mconnor)
Attachment #283359 -
Flags: review+
Attachment #283359 -
Flags: approval1.9?
Attachment #283359 -
Flags: approval1.9+
| Reporter | ||
Comment 2•19 years ago
|
||
fixed
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•19 years ago
|
Flags: blocking1.9? → blocking1.9+
Updated•10 years ago
|
Product: Toolkit → Toolkit Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•