]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
wintime: add a precautionary memset to zero.
authorSimon Tatham <anakin@pobox.com>
Tue, 14 Feb 2017 20:29:38 +0000 (20:29 +0000)
committerSimon Tatham <anakin@pobox.com>
Tue, 14 Feb 2017 23:25:25 +0000 (23:25 +0000)
commit2a2434e0cc91492ce56ce4360aacb7737bb1eebe
tree7912a9bf22edef0bf367f2e176a337eee730508b
parentb6b52269e1085d9a58adf2f0f86f96fd96fa3199
wintime: add a precautionary memset to zero.

Coverity observes that sometimes 'struct tm' can have other fields
(e.g. glibc's tm_gmtoff), so it's as well to make sure we initialise
the whole thing to zero.
windows/wintime.c