Commit 5ff34120 authored by Matt Johnston's avatar Matt Johnston
Browse files

Android returns NULL for pw_crypt, set it to something else

parent da59afe7
......@@ -462,6 +462,10 @@ void fill_passwd(const char* username) {
passwd_crypt = spasswd->sp_pwdp;
}
#endif
if (!passwd_crypt) {
/* android supposedly returns NULL */
passwd_crypt = "!!";
}
ses.authstate.pw_passwd = m_strdup(passwd_crypt);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment