[krbdev.mit.edu #7560] SVN Commit

Tom Yu via RT rt-comment at krbdev.mit.edu
Wed Feb 6 15:30:46 EST 2013


Fix kdb5_util dump.c uninitialized warnings

Some versions of clang report an uninitialized variable warning (which
we treat as an error) in process_k5beta_record.  Due to the if-ladder
style of the function, uninitialized tmpint values can be copied
around in certain error cases, although the garbage values would be
ultimately ignored.  As a minimal fix, initialize the tmpint
variables.

(cherry picked from commit 1b7f7eef8a95bda0135159b2c06a168b56d9f42b)

https://github.com/krb5/krb5/commit/604d465c7d9dacf278e6a310f3f9e8a3a2dabda3
Author: Greg Hudson <ghudson at mit.edu>
Committer: Tom Yu <tlyu at mit.edu>
Commit: 604d465c7d9dacf278e6a310f3f9e8a3a2dabda3
Branch: krb5-1.11
 src/kadmin/dbutil/dump.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)



More information about the krb5-bugs mailing list