summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorSamuel Cabrero <scabrero@suse.de>2019-03-13 10:46:36 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-03-22 14:03:19 +0000
commit88804bc24c58d7da866c582ce639aa77af766b5a (patch)
tree6fb5bdddd325cde685e33646680b5e4162124ab8 /testprogs
parent4a526ec470df4b983745939fe86927a9ea66778c (diff)
downloadsamba-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