diff options
author | Guy Harris <guy@alum.mit.edu> | 2016-10-21 17:08:03 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2016-10-22 00:08:42 +0000 |
commit | 49cf42c571f3f94632957371ccd99533e71764ff (patch) | |
tree | bb22dad15fc5fa35300d0506ba4c72dffdcd5f11 /configure.ac | |
parent | b3363fbbdee8b785c849c24a265fdbe28c28f608 (diff) |
localtime() can return NULL, even if it's unlikely.
ANSI C says it can return NULL - and, at least on Windows with the MSVC
library, it *will* return null for dates prior to the Epoch. Check for
a null return and handle it.
Fixes CID 1374109.
Change-Id: Ib18566d1a75e4109adb21834b157e87532fcac10
Reviewed-on: https://code.wireshark.org/review/18365
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions