Wireshark-commits: [Wireshark-commits] master d12283b: proto.c: exclude hf_text_only from proto_reg
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 2 Aug 2015 15:43:40 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d12283b8e9ec66e14b468595913f099c39e8fb5f
Submitter: Pascal Quantin (pascal.quantin@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

    proto.c: exclude hf_text_only from proto_registrar_is_protocol()
    
    This pseudo field is a specific case that is not linked to any protocol (despite parent being set to -1).
    This prevents a crash in Qt GUI when selecting a line added with proto_tree_add_subtree() or similar.
    
    Change-Id: I3b1cc2e6c7e71a71898f2ee9a02e9158eccf6fac
    Reviewed-on: https://code.wireshark.org/review/9845
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    

Actions performed:

    from  37a1bb8   CoAP: add media type number for application/cbor
    adds  d12283b   proto.c: exclude hf_text_only from proto_registrar_is_protocol()


Summary of changes:
 epan/proto.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)