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