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
int alt_key_len, salt_len, alt_salt_len;
char *name;
char *mod_name;
- int tmpint1, tmpint2, tmpint3;
+ int tmpint1 = 0, tmpint2 = 0, tmpint3 = 0;
int error;
const char *try2read;
int i;