Wireshark-commits: [Wireshark-commits] master 1d8680d: packet-gsm_sms: Return early in hashing funt

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Fri, 24 Jul 2020 05:55:31 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=1d8680d07f92352c4ff95083fe578e8f263bac6d
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

1d8680d by Richard Sharpe (realrichardsharpe@xxxxxxxxx):

    packet-gsm_sms: Return early in hashing funtion when NULL passed in.
    
    Avoid crashes when NULL passed into hashing functions.
    
    Change-Id: I941eec49ff8f906715ae257b61334a9533af3265
    Reviewed-on: https://code.wireshark.org/review/37863
    Reviewed-by: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
    Petri-Dish: Richard Sharpe <realrichardsharpe@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  babbe57   ftype-time: Use time zone from hfinfo->display
     add  1d8680d   packet-gsm_sms: Return early in hashing funtion when NULL passed in.


Summary of changes:
 epan/dissectors/packet-gsm_sms.c | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)