K 10 svn:author V 8 truckman K 8 svn:date V 27 2016-05-16T08:34:17.676797Z K 7 svn:log V 291 Hoist the getpwnam() call outside the first if/else block in pam_sm_chauthtok(). Set user = getlogin() inside the true branch so that it is initialized for the following PAM_LOG() call. This is how it is done in pam_sm_authenticate(). Reported by: Coverity CID: 272498 MFC after: 1 week END