зеркало из https://github.com/mozilla/pjs.git
Initialize variable to null. Indicated by bug 160076: Crashes when the
PasswordCallback returns an invalid password.
This commit is contained in:
Родитель
bd4f8b0e44
Коммит
d085546c68
|
@ -260,7 +260,7 @@ Java_org_mozilla_jss_CryptoManager_findPrivKeyByCertNative
|
|||
PRThread *pThread;
|
||||
CERTCertificate *cert;
|
||||
SECKEYPrivateKey *privKey=NULL;
|
||||
jobject Key;
|
||||
jobject Key = NULL;
|
||||
|
||||
pThread = PR_AttachThread(PR_SYSTEM_THREAD, 0, NULL);
|
||||
PR_ASSERT( pThread != NULL);
|
||||
|
|
Загрузка…
Ссылка в новой задаче