[krbdev.mit.edu #7863] git commit

Greg Hudson via RT rt-comment at KRBDEV-PROD-APP-1.mit.edu
Tue Apr 17 12:50:16 EDT 2018


Merge duplicate subsections in profile library

Modify profile_add_node() to return the existing node, rather than
making a new one, when adding subsection configuration.

This fixes an issue where the first instance of a subsection will hide
the second instance entirely.  In particular, it was previously
impossible to split realm-specific configuration across multiple
config files.

[ghudson at mit.edu: adjusted style, added test case]

https://github.com/krb5/krb5/commit/efab9fa5a6d23c486467264e20b58bf5a9c60f0c
Author: Robbie Harwood <rharwood at redhat.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: efab9fa5a6d23c486467264e20b58bf5a9c60f0c
Branch: master
 src/util/profile/prof_test1  |   22 ++++++++++++++++++++++
 src/util/profile/prof_tree.c |   15 +++++++++++----
 src/util/profile/test.ini    |    6 ++++++
 3 files changed, 39 insertions(+), 4 deletions(-)



More information about the krb5-bugs mailing list