mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
s4:torture: Initialize ‘tm’ structure
‘tm’ must be initialized prior to calling strptime(). Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
9bd9b9bfd9
commit
a2700cf685
@ -1943,7 +1943,7 @@ static bool torture_smb1_twrp_openroot(struct torture_context *tctx,
|
||||
const char *snapshot = NULL;
|
||||
const char *p = NULL;
|
||||
NTSTATUS status;
|
||||
struct tm tm;
|
||||
struct tm tm = {};
|
||||
bool ret = true;
|
||||
|
||||
snapshot = torture_setting_string(tctx, "twrp_snapshot", NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user