git: DragonFly_RELEASE_5_0 Fix additional cases of seg-faults on crypt(3) failure

Sascha Wildner swildner at crater.dragonflybsd.org
Sat Oct 14 02:14:53 PDT 2017


commit c786b7facc560cc34a15df4345ca838a14d47c20
Author: Lubos Boucek <bouceklubos at gmail.com>
Date:   Fri Oct 13 21:33:01 2017 +0000

    Fix additional cases of seg-faults on crypt(3) failure
    
    * On failure, crypt(3) returns NULL, which is then used as a
      strcmp(3) argument
    
    opieftpd.c and opiesu.c are not actually used anywhere.

Summary of changes:
 contrib/opie/opieftpd.c             | 7 +++++--
 contrib/opie/opiesu.c               | 4 +++-
 contrib/pam_passwdqc/pam_passwdqc.c | 7 ++++---
 lib/pam_module/pam_unix/pam_unix.c  | 6 ++++--
 usr.sbin/pppd/auth.c                | 8 +++++---
 5 files changed, 21 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/c786b7facc560cc34a15df4345ca838a14d47c20


-- 
DragonFly BSD source repository



More information about the Commits mailing list