]> 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)
committerGreg Hudson <ghudson@mit.edu>
Fri, 1 Feb 2013 16:53:38 +0000 (11:53 -0500)
commit1b7f7eef8a95bda0135159b2c06a168b56d9f42b
tree4b23cf65cddd481f5f297279bbdef5eb976fc076
parent1f6d917fb52be81c9d009d7c10177d1193bf5ae1
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.

ticket: 7560 (new)
target_version: 1.11.1
tags: pullup
src/kadmin/dbutil/dump.c