Skip Menu |
 

From: ghudson@mit.edu
Subject: git commit

Check for null *iter_p in profile_iterator()

In profile_iterator(), return PROF_MAGIC_ITERATOR if *iter_p is NULL,
instead of dereferencing a null pointer, as we did prior to 1.10.
Correct calling code will not trigger this case, but incorrect code
has been reported in the field.

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

Check for null *iter_p in profile_iterator()

In profile_iterator(), return PROF_MAGIC_ITERATOR if *iter_p is NULL,
instead of dereferencing a null pointer, as we did prior to 1.10.
Correct calling code will not trigger this case, but incorrect code
has been reported in the field.

(cherry picked from commit 9a343200d305e7c8df6e556d63afaee42194175f)

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