Skip Menu |
 

From: tlyu@mit.edu
Subject: SVN Commit

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/404d8b8662112a9d8886887961b7222d1aad4563
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 404d8b8662112a9d8886887961b7222d1aad4563
Branch: krb5-1.10
src/kadmin/dbutil/dump.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)