wireshark/extcap
Guy Harris 4513c66b1a You have to set tm_isdst before calling mktime().
You either need to tell mktime() that 1) DST/Summer Time is in effect,
2) DST/Summer Time isn't in effect, or 3) we don't know whether
DST/Summer Time is in effect, you figure it out.

We set tm_isdst to -1, to choose option 3), which is what we want.

Fixes Coverity CID 1435496.

Change-Id: I0f22ef1201ee8abefb3fa75aa3432b021fb13cfd
Reviewed-on: https://code.wireshark.org/review/27408
Reviewed-by: Guy Harris <guy@alum.mit.edu>
2018-05-09 03:49:07 +00:00
..
.editorconfig Move extcap EditorConfig settings to source dir 2016-03-23 00:24:52 +00:00
androiddump.c You have to set tm_isdst before calling mktime(). 2018-05-09 03:49:07 +00:00
ciscodump.c sshdump/ciscodump: use groups in config. 2018-05-08 14:06:22 +00:00
extcap-base.c sshdump/ciscodump: use groups in config. 2018-05-08 14:06:22 +00:00
extcap-base.h extcap: Tell utilities the wireshark version 2018-04-05 08:40:04 +00:00
randpktdump.c replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
ssh-base.c replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
ssh-base.h replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00
sshdump.c sshdump/ciscodump: use groups in config. 2018-05-08 14:06:22 +00:00
udpdump.c replace SPDX identifier GPL-2.0+ with GPL-2.0-or-later. 2018-02-08 14:57:36 +00:00