URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d1cace99e57643a8f836803b2bc9cac50e42ac98
Submitter: Bill Meier (wmeier@xxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
d1cace9 by Bill Meier (wmeier@xxxxxxxxxxx):
smb-pipe: prevent possible crash; gmtime() can return NULL.
For FT_ABSOLUTE_TIME fields:
Instead of calling gmtime()/mktime() to convert a time to UTC time
which is then displayed using proto_tree_add_time(),
Use ABSOLUTE_TIME_UTC as the 'display' value for the field and then
display the field using proto_tree_add_item().
Change-Id: I1926c40de76a86072437902cb7621d3873827b11
Reviewed-on: https://code.wireshark.org/review/6659
Reviewed-by: Bill Meier <wmeier@xxxxxxxxxxx>
Actions performed:
from b41065e BGP: EVPN - Route Type 4 - "Invalid length of IP Address" - "Expert Info" shows a false error
adds d1cace9 smb-pipe: prevent possible crash; gmtime() can return NULL.
Summary of changes:
epan/dissectors/packet-smb-pipe.c | 26 ++++++++------------------
1 file changed, 8 insertions(+), 18 deletions(-)