Merge pull request #73 from JonasDralle/patch-1

Further documentation regarding #46 timeout bug
This commit is contained in:
Bandie 2018-10-30 18:25:41 +01:00 committed by GitHub
commit 38de2fc9d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,7 +90,8 @@ int authPassword(pam_handle_t *pamh, char *serious_dev, int8_t bSerious, int8_t
pam_prompt(pamh, PAM_PROMPT_ECHO_OFF, &response, _("Password: ")); pam_prompt(pamh, PAM_PROMPT_ECHO_OFF, &response, _("Password: "));
// Is response null? // Abort on null response. xscreensaver is known for passing null instead of aborting.
// refer to https://bandie.org/programming/2018/04/24/pam_panic-Security-fix.html
if(!response) if(!response)
return(PAM_ABORT); return(PAM_ABORT);