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

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


commit b0bc097d18cf2e5ce1d76ead0f8049e8c72917ea
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/b0bc097d18cf2e5ce1d76ead0f8049e8c72917ea


-- 
DragonFly BSD source repository


More information about the Commits mailing list