Closed Bug 204659 Opened 22 years ago Closed 22 years ago

Security manager check needs adjusting

Categories

(Core :: XPConnect, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: dbradley, Assigned: dbradley)

References

Details

Attachments

(1 file)

I didn't get the security manager checking logic quite right. What should be happening is if the security manager pointer returned is null, we shouldn't fail the check, but allow it to pass. Patch coming up
Comment on attachment 122610 [details] [diff] [review] Corrects the security manager checks Small tweak to the security manager checks. The end result is that this allows COM objects to be instantiated inside XPCShell and brings the check in line with the rest of XPConnect security checks.
Attachment #122610 - Flags: superreview?(alecf)
Attachment #122610 - Flags: review?(adamlock)
Comment on attachment 122610 [details] [diff] [review] Corrects the security manager checks sr=alecf
Attachment #122610 - Flags: superreview?(alecf) → superreview+
I'll see if I can get this in for 1.4. I don't think it's that critical, as it only affects chrome and xpcshell. But it's a simple change and only affects IDispatch code.
Status: NEW → ASSIGNED
Comment on attachment 122610 [details] [diff] [review] Corrects the security manager checks r=adamlock
Attachment #122610 - Flags: review?(adamlock) → review+
Comment on attachment 122610 [details] [diff] [review] Corrects the security manager checks This is small two liner that I'd like to try and get in for 1.4. It will make QA's life easier, since it allows GeckoActiveXObject to be called from XPCShell for unit testing. Currently it blocks all components from instantiation due to the errant security check logic.
Attachment #122610 - Flags: approval1.4?
Comment on attachment 122610 [details] [diff] [review] Corrects the security manager checks a=sspitzer for 1.4 final
Attachment #122610 - Flags: approval1.4? → approval1.4+
Patch checked in
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Checkin verified -
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: