Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Fix deleted node handling in libprofile

In profile_find_node, skip deleted nodes when finding the second
match. Otherwise, profile_clear_nodes could return an error if a node
has some values to clear but the last one is deleted.

In profile_node_iterator, skip deleted nodes when looking up the
section names. Otherwise we could iterate over a deleted section
and/or ignore its replacement.

https://github.com/krb5/krb5/commit/e7f50a1c11845ba73ce4ffa4729d10113563a247
Author: Greg Hudson <ghudson@mit.edu>
Commit: e7f50a1c11845ba73ce4ffa4729d10113563a247
Branch: master
src/util/profile/prof_tree.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
From: tlyu@mit.edu
Subject: git commit

Fix deleted node handling in libprofile

In profile_find_node, skip deleted nodes when finding the second
match. Otherwise, profile_clear_nodes could return an error if a node
has some values to clear but the last one is deleted.

In profile_node_iterator, skip deleted nodes when looking up the
section names. Otherwise we could iterate over a deleted section
and/or ignore its replacement.

(cherry picked from commit e7f50a1c11845ba73ce4ffa4729d10113563a247)

https://github.com/krb5/krb5/commit/a3ae1eaee8ae5e972cc29133684fdf878708c8b2
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: a3ae1eaee8ae5e972cc29133684fdf878708c8b2
Branch: krb5-1.12
src/util/profile/prof_tree.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)