Wireshark-commits: [Wireshark-commits] master fb38049: proto.c: allow calling proto_item_add_bitmas
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 15 Jun 2016 22:04:28 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=fb38049f4d25b4d3b2e2a86723df3ffa6e553e56
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

    proto.c: allow calling proto_item_add_bitmask_tree() with a length set to 0
    
    This is required for the flags from packet-frame.c
    
    Bug: 12536
    Change-Id: I60bfe671687bcd3a9b5c997ba62bed563e890548
    Reviewed-on: https://code.wireshark.org/review/15945
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  c3190ad   capture info (wslua): Dereference of null pointer
    adds  fb38049   proto.c: allow calling proto_item_add_bitmask_tree() with a length set to 0


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