An uninitialized variable was used to split the user name when the format
was declared as NTLM.
longline line;
char *linebuf;
char *str;
- char user[MAX_USER_LEN];
char hora[30];
char dia[128]="";
char wuser[MAXLEN];
} else {
strlow(log_entry.User);
if(NtlmUserFormat == NTLMUSERFORMAT_USER) {
- if ((str=strchr(user,'+'))!=NULL || (str=strchr(user,'\\'))!=NULL || (str=strchr(user,'_'))!=NULL) {
+ if ((str=strchr(log_entry.User,'+'))!=NULL || (str=strchr(log_entry.User,'\\'))!=NULL || (str=strchr(log_entry.User,'_'))!=NULL) {
log_entry.User=str+1;
}
}