Hello, This patch fix an incorrect check.
# HG changeset patch # User MJP # Date 1452429700 -3600 # Sun Jan 10 13:41:40 2016 +0100 # Node ID 5df6e3ec88c3933dd06ced5fd459921a8043cead # Parent e414626941ab329294b3d6c26657e1b2a509f5f0 Fix: "authconf.users_file_path" is a char[] but is checked as a char*. diff -r e414626941ab -r 5df6e3ec88c3 usr.sbin/npppd/npppd/npppd_auth.c --- usr.sbin/npppd/npppd/npppd_auth.c Thu Dec 17 14:39:03 2015 +0100 +++ usr.sbin/npppd/npppd/npppd_auth.c Sun Jan 10 13:41:40 2016 +0100 @@ -197,7 +197,7 @@ base->has_users_file = 0; base->radius_ready = 0; - if (auth->users_file_path != NULL) { + if (strlen(auth->users_file_path) > 0) { strlcpy(base->users_file_path, auth->users_file_path, sizeof(base->users_file_path)); base->has_users_file = 1;