Wireshark-commits: [Wireshark-commits] master cf12e44: proto.c: avoid dereferencing a NULL pointer

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 22 Sep 2016 18:56:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cf12e448b1721143d0232c5d866a973862cab139
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

cf12e44 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    proto.c: avoid dereferencing a NULL pointer
    
    Some sub protocols do not register fields
    
    Follow-up of gf4a521e
    
    Change-Id: Iec3165d6204cc6acc0ec31a7266f860012463cd0
    Reviewed-on: https://code.wireshark.org/review/17868
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  7477e1c   Fix Profinet RPCInterfaceUUID decoding
    adds  cf12e44   proto.c: avoid dereferencing a NULL pointer


Summary of changes:
 epan/proto.c |   28 ++++++++++++++++------------
 1 file changed, 16 insertions(+), 12 deletions(-)