Wireshark-commits: [Wireshark-commits] master-2.4 6be76eb: Always explicitly set tm_isdst before ca

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 09 May 2018 16:33:56 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6be76eb7729c509cb7c3284526b5a6ab33c1f3ef
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

6be76eb by Guy Harris (guy@xxxxxxxxxxxx):

    Always explicitly set tm_isdst before calling mktime().
    
    Except in rare cases, we want to set it to -1 so that we let mktime()
    determine whether DST/Summer Time was in effect at the given date and
    time rather than pretending that we know whether it's in effect or not.
    
    Change-Id: I0ea75317dd308a515cedf4d1260b583e1592cc9b
    Reviewed-on: https://code.wireshark.org/review/27431
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    (cherry picked from commit e7d24c606cdb460e835f7d7553d7b82e1ee11eac)
    Reviewed-on: https://code.wireshark.org/review/27433
    

Actions performed:

    from  fe3e09f   proto: don't overrun buffer.
    adds  6be76eb   Always explicitly set tm_isdst before calling mktime().


Summary of changes:
 editcap.c             | 1 +
 ui/time_shift.c       | 1 +
 wiretap/logcat_text.c | 1 +
 3 files changed, 3 insertions(+)