[krbdev.mit.edu #8588] git commit

Greg Hudson via RT rt-comment at krbdev.mit.edu
Mon Jul 17 22:41:30 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.

(cherry picked from commit 3efb19294012ad38ac3a95d407e739313838c68a)

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



More information about the krb5-bugs mailing list