Wireshark-commits: [Wireshark-commits] master d85a221: proto_tree_add_item_ret_(u)int: do the NULL
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 23 Jun 2015 20:15:51 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d85a221cd31b72ea757c5ea7d54b58eb7db28180
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

d85a221 by Martin Kaiser (wireshark@xxxxxxxxx):

    proto_tree_add_item_ret_(u)int: do the NULL check at the start
    
    before hfinfo is actually used (coverity 1293631)
    
    Change-Id: I270c30c4699cd6f831a38986e6c8024c2e9ef47a
    Reviewed-on: https://code.wireshark.org/review/9061
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  b216d26   extend the RPL dissector with basic P2P RPL support
    adds  d85a221   proto_tree_add_item_ret_(u)int: do the NULL check at the start


Summary of changes:
 epan/proto.c |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)