Added missing initialization of values
A call to localtime_r was done with an uninitialized time_t value.
This commit is contained in:
parent
62b0e5fab0
commit
c6982b863a
@ -540,6 +540,7 @@ static bool file_write_header(
|
||||
return true;
|
||||
#endif
|
||||
|
||||
t = time(NULL);
|
||||
localtime_r(&t, &tm);
|
||||
|
||||
header_buf1 = "\n\nMariaDB Corporation MaxScale " MAXSCALE_VERSION "\t";
|
||||
|
Loading…
x
Reference in New Issue
Block a user