Skip Menu |
 

From: ghudson@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.

https://github.com/krb5/krb5/commit/1b7f7eef8a95bda0135159b2c06a168b56d9f42b
Author: Greg Hudson <ghudson@mit.edu>
Commit: 1b7f7eef8a95bda0135159b2c06a168b56d9f42b
Branch: master
src/kadmin/dbutil/dump.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
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/604d465c7d9dacf278e6a310f3f9e8a3a2dabda3
Author: Greg Hudson <ghudson@mit.edu>
Committer: Tom Yu <tlyu@mit.edu>
Commit: 604d465c7d9dacf278e6a310f3f9e8a3a2dabda3
Branch: krb5-1.11
src/kadmin/dbutil/dump.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)