Wireshark-commits: [Wireshark-commits] master-1.12 4946e93: synphasor: prevent possible crash; gmti

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 19 Jan 2015 21:08:11 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4946e93445360ec228514a1894caaba1e6df24b0
Submitter: Bill Meier (wmeier@xxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

4946e93 by Bill Meier (wmeier@xxxxxxxxxxx):

    synphasor: prevent possible crash; gmtime() can return NULL;
    
    Don't do manual conversion of a time-field to UTC using gmtime().
    Use the standard Wireshark mechanisms.
    
    Change-Id: I2eaee074a590ecab492336bb6ad794bdd036f699
    Reviewed-on: https://code.wireshark.org/review/6661
    Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/6671
    

Actions performed:

    from  79e5284   dmp, gmhdr, vssmonitoring: prevent possible crashes;
    adds  4946e93   synphasor: prevent possible crash; gmtime() can return NULL;


Summary of changes:
 epan/dissectors/packet-synphasor.c |   14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)