Wireshark-commits: [Wireshark-commits] master 5162b7f: smpp: Prevent crash if invalid date/time fie

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

Commits:

5162b7f by Bill Meier (wmeier@xxxxxxxxxxx):

    smpp: Prevent crash if invalid date/time field.
    
      gmtime()/localtime() can return NULL;
    
    Bug 10868
    Change-Id: I496bab62555c7741b3d159726e74a3d14c4b51cb
    Reviewed-on: https://code.wireshark.org/review/6644
    Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
    

Actions performed:

    from  b2b640f   Reflect the disappearance of the seasonal allocator.
    adds  5162b7f   smpp: Prevent crash if invalid date/time field.


Summary of changes:
 epan/dissectors/packet-smpp.c |   19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)