[krbdev.mit.edu #8588] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Jun 19 15:44:27 EDT 2017


Fix kadm5.acl error reporting

In kadm5int_acl_get_line(), increment *lnp after skipping a blank or
comment line, so that kadm5int_acl_load_acl_file() correctly reports
the line number if it fails to parse a line.

In acl_syn_err_msg, use %.10s to limit the amount of the line included
in the error message, not %10s to left-pad it with spaces if it is
shorter than ten characters.

https://github.com/krb5/krb5/commit/3efb19294012ad38ac3a95d407e739313838c68a
Author: Greg Hudson <ghudson at mit.edu>
Commit: 3efb19294012ad38ac3a95d407e739313838c68a
Branch: master
 src/lib/kadm5/srv/server_acl.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)



More information about the krb5-bugs mailing list