]> 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>
Mon, 22 Apr 2013 23:59:20 +0000 (19:59 -0400)
commit5bad062b6e122354a5557d463f1e5e198374e0c9
treed1c377ea190687602d38a92ad8da1551f057e355
parent9de6c0c7f4b26c04e6b9c31ff5f9c9efa35d28f1
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: 7617 (new)
version_fixed: 1.9.5
status: resolved
src/kadmin/dbutil/dump.c