git: ppp - Fix seg-fault on crypt failure

Matthew Dillon dillon at crater.dragonflybsd.org
Wed Sep 27 14:53:30 PDT 2017


commit f4a9869feb646aafe72de6e5d61051a023a02676
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Wed Sep 27 14:51:48 2017 -0700

    ppp - Fix seg-fault on crypt failure
    
    * Fix an issue where the program seg-faults if crypt() returns
      NULL.  Return 0 (failure for this routine) in case of NULL
    
    Submitted-by: lubos

Summary of changes:
 usr.sbin/ppp/auth.c | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

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


-- 
DragonFly BSD source repository


More information about the Commits mailing list