зеркало из https://github.com/mozilla/pjs.git
fix logon error from uninitialzed out param in some situations when remember password turned on, r/sr=mscott 185186
This commit is contained in:
Родитель
74bf975468
Коммит
39c234af0e
|
@ -811,7 +811,10 @@ nsMsgIncomingServer::GetPasswordWithUI(const PRUnichar * aPromptMessage, const
|
|||
// Get password entry corresponding to the host URI we are passing in.
|
||||
if (NS_SUCCEEDED(passwordMgrInt->FindPasswordEntry(currServerUri, NS_LITERAL_STRING(""), NS_LITERAL_STRING(""),
|
||||
hostFound, userNameFound, passwordFound)))
|
||||
{
|
||||
m_password.AssignWithConversion(passwordFound);
|
||||
*okayValue = PR_TRUE;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (m_password.IsEmpty())
|
||||
|
|
Загрузка…
Ссылка в новой задаче