]> granicus.if.org Git - linux-pam/commit
pam_ftp: Properly use the first name from the supplied list
authorTomas Mraz <tmraz@fedoraproject.org>
Mon, 17 Oct 2016 12:18:24 +0000 (14:18 +0200)
committerTomas Mraz <tmraz@fedoraproject.org>
Mon, 17 Oct 2016 12:18:24 +0000 (14:18 +0200)
commitdf673b9b2e174240f4a94388c4d58e5a6334d601
tree5029ce925a965c5525c2530fc70fd6ab0e033b5a
parentc843abef2081ac7278a6a372f8d53bbf580bcf94
pam_ftp: Properly use the first name from the supplied list

* modules/pam_ftp/pam_ftp.c (lookup): Return first user from the list
of anonymous users if user name matches.
(pam_sm_authenticate): Free the returned value allocated in lookup().
modules/pam_ftp/pam_ftp.c