diff options
author | Samuel Cabrero <scabrero@suse.de> | 2019-03-13 10:46:36 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-03-22 14:03:19 +0000 |
commit | 88804bc24c58d7da866c582ce639aa77af766b5a (patch) | |
tree | 6fb5bdddd325cde685e33646680b5e4162124ab8 /testprogs | |
parent | 4a526ec470df4b983745939fe86927a9ea66778c (diff) | |
download | samba-88804bc24c58d7da866c582ce639aa77af766b5a.tar.gz |
s4:torture: Initialize tm struct
The samba3.blackbox.shadow_copy_torture tests call to strptime passing
an uninitalized tm structure as an argument, but the strptime function
does not write the tm.tm_isdst field.
These tm structures are passed later as the mktime argument, which
produces different values depending on whether the arbitrary value
of the tm.tm_isdst field is lower or equal to zero or greather than
zero.
Signed-off-by: Samuel Cabrero <scabrero@suse.de>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'testprogs')
0 files changed, 0 insertions, 0 deletions