Commit
92a1a7efe2fc43337416098f2227038a72f1e35a uses line after it is
freed in load_acl_file(). Move the k5_setmsg() call earlier to fix
it. The same commit also used the wrong header underline in
krb5_conf.rst for the kadm5_auth interface subsection. Fix it.
ticket: 8595
.. _kadm5_auth:
kadm5_auth interface
-====================
+####################
The kadm5_auth section (introduced in release 1.16) controls modules
for the kadmin authorization interface, which determines whether a
krb5_klog_syslog(LOG_ERR,
_("%s: syntax error at line %d <%.10s...>"),
fname, lineno, line);
- free_acl_entries(state);
- free(line);
- fclose(fp);
k5_setmsg(context, EINVAL,
_("%s: syntax error at line %d <%.10s...>"),
fname, lineno, line);
+ free_acl_entries(state);
+ free(line);
+ fclose(fp);
return EINVAL;
}
entry_slot = &(*entry_slot)->next;