summaryrefslogtreecommitdiff
path: root/extcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2016-10-21 17:08:03 -0700
committerGuy Harris <guy@alum.mit.edu>2016-10-22 00:08:42 +0000
commit49cf42c571f3f94632957371ccd99533e71764ff (patch)
treebb22dad15fc5fa35300d0506ba4c72dffdcd5f11 /extcap.c
parentb3363fbbdee8b785c849c24a265fdbe28c28f608 (diff)
downloadwireshark-49cf42c571f3f94632957371ccd99533e71764ff.tar.gz
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 'extcap.c')
0 files changed, 0 insertions, 0 deletions