Bug 443284 - Firefox 3 crashes when trying to login to an ActivIdentity/ActivClient smartcard using acpkcs211.dll
Inspired by Timeless and Dani Church. r=kaie/rrelyea, a=mconnor git-svn-id: svn://10.0.0.236/trunk@254910 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
a6678ce204
commit
59906d613f
@ -724,10 +724,10 @@ ShowProtectedAuthPrompt(PK11SlotInfo* slot, nsIInterfaceRequestor *ir)
|
||||
switch (rv)
|
||||
{
|
||||
case SECSuccess:
|
||||
protAuthRetVal = PK11_PW_AUTHENTICATED;
|
||||
protAuthRetVal = ToNewCString(nsDependentCString(PK11_PW_AUTHENTICATED));
|
||||
break;
|
||||
case SECWouldBlock:
|
||||
protAuthRetVal = PK11_PW_RETRY;
|
||||
protAuthRetVal = ToNewCString(nsDependentCString(PK11_PW_RETRY));
|
||||
break;
|
||||
default:
|
||||
protAuthRetVal = nsnull;
|
||||
|
||||
@ -158,7 +158,7 @@ void nsProtectedAuthThread::Run(void)
|
||||
// it is harmless here
|
||||
mLoginResult = PK11_CheckUserPassword(mSlot, 0);
|
||||
|
||||
nsIObserver *observer = nsnull;
|
||||
nsCOMPtr<nsIObserver> observer;
|
||||
|
||||
PR_Lock(mMutex);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user