]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix kdb5_util dump.c uninitialized warnings
authorGreg Hudson <ghudson@mit.edu>
Fri, 1 Feb 2013 16:52:48 +0000 (11:52 -0500)
committerTom Yu <tlyu@mit.edu>
Fri, 22 Feb 2013 23:24:05 +0000 (18:24 -0500)
commit404d8b8662112a9d8886887961b7222d1aad4563
tree4557d26423a6e1d02b3462fc832218d5fb70b614
parent8b03510d5e919ce2047b64d9a4b4d3a9fe6a07a4
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)

ticket: 7581 (new)
version_fixed: 1.10.4
status: resolved
src/kadmin/dbutil/dump.c