Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

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@mit.edu>
Commit: 3efb19294012ad38ac3a95d407e739313838c68a
Branch: master
src/lib/kadm5/srv/server_acl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
From: ghudson@mit.edu
Subject: git commit

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@mit.edu>
Commit: 17e970f8c8e9e0d3847fb72112c63a3f93f696e9
Branch: krb5-1.14
src/lib/kadm5/srv/server_acl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
From: ghudson@mit.edu
Subject: git commit

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/a27b0a9fedd4f1902546426aeef73998a234ece8
Author: Greg Hudson <ghudson@mit.edu>
Commit: a27b0a9fedd4f1902546426aeef73998a234ece8
Branch: krb5-1.15
src/lib/kadm5/srv/server_acl.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)