krb5 commit: Revert an out-of-scope change in policy extensions

Greg Hudson ghudson at MIT.EDU
Tue Jul 31 14:26:26 EDT 2012


https://github.com/krb5/krb5/commit/9a0709655f089f65966d3c6f92c5592fe498b2e4
commit 9a0709655f089f65966d3c6f92c5592fe498b2e4
Author: Greg Hudson <ghudson at mit.edu>
Date:   Tue Jul 31 12:59:29 2012 -0400

    Revert an out-of-scope change in policy extensions

 src/kadmin/dbutil/dump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c
index e421e76..b96c0fd 100644
--- a/src/kadmin/dbutil/dump.c
+++ b/src/kadmin/dbutil/dump.c
@@ -2199,7 +2199,7 @@ process_r1_8_policy(fname, kcontext, filep, flags, linenop)
      * To make this compatible with future policy extensions, we
      * ignore any additional values.
      */
-    nread = fscanf(filep, "%1024s\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d%*[^\n]",
+    nread = fscanf(filep, "%1024s\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d\t%d",
                    rec.name,
                    &rec.pw_min_life, &rec.pw_max_life,
                    &rec.pw_min_length, &rec.pw_min_classes,


More information about the cvs-krb5 mailing list