rather than just kconf_val before passing *kconf_val to
conf_affirmative (where strcasecmp will choke on it
if it is in fact null).
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11039
dc483132-0cff-0310-8789-
dd5450dbe970
+1998-11-16 Geoffrey King <gjking@mit.edu>
+
+ * login.c (login_get_kconf): Also test whether *kconf_val is null
+ rather than just kconf_val before passing *kconf_val to
+ conf_affirmative (where strcasecmp will choke on it
+ if it is in fact null).
+
1998-11-13 Theodore Ts'o <tytso@rsts-11.mit.edu>
* Makefile.in: Set the myfulldir and mydir variables (which are
kconf_names, &kconf_val);
if (retval) {
/* ignore most (all?) errors */
- } else if (kconf_val) {
+ } else if (kconf_val && *kconf_val) {
switch(conf_affirmative(*kconf_val)) {
case 1:
*login_conf_set[i].flag = 1;