Closed Bug 67502 Opened 24 years ago Closed 24 years ago

psm-glue ui handler crashes when there is no nsIChannelSecurityInfo associated with password request

Categories

(Core Graveyard :: Security: UI, defect)

1.0 Branch
x86
All
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: javi, Assigned: javi)

References

Details

Attachments

(2 files)

The new password handler code in psm-glue assumes there will always be a
nsIChannelSecurityInfo when a password request comes in.  This is not true.  The
password request may come from SDR, PKCS12, or Keygen.  

So the psm-glue code needs to handle the case where the nsIChannelSecurityInfo
is not present.

Patch coming shortly.
r=thayes
Well, ideally we want to stop using the dialog service... we should figure out
how to get the right nsIPrompt, somehow.
In pipnss yes.  But I'm not gonna spend the time to do that for psm-glue.
is it safe to say that we are NOT on the UI thread and that's why the patch uses
a proxied service for the dialog service?

If that is indeed true sr=mscott

otherwise, let's not create a proxied service unless we need to.
We are not on the UI thread here.  We get lots of assertions if we don't proxy.
Fix checked in.
Forgot to mark FIXED last time through.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
*** Bug 67156 has been marked as a duplicate of this bug. ***
Verified. Works for me on WinNT, Mac and Linux Mozilla builds.
Status: RESOLVED → VERIFIED
Looks fixed here.
Mozilla 2001020704 on Windows 2000 SP1 on PC.
*** Bug 67335 has been marked as a duplicate of this bug. ***
Product: PSM → Core
Version: psm1.5 → 1.0 Branch
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: