Wireshark-commits: [Wireshark-commits] master feaa485: [lmp] don't THROW() an exception from a diss

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 31 Oct 2015 12:11:10 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=feaa485697eaa60c6d9cb058fd7e95cf4b688d3b
Submitter: Martin Kaiser (wireshark@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

feaa485 by Martin Kaiser (wireshark@xxxxxxxxx):

    [lmp] don't THROW() an exception from a dissector
    
    do the bounds check for obj_length before we use it
    
    Change-Id: I9e15fae6de05c5833c6959239fcdc0a7d2ca59cb
    Reviewed-on: https://code.wireshark.org/review/11459
    Reviewed-by: Martin Kaiser <wireshark@xxxxxxxxx>
    

Actions performed:

    from  ade86d0   [bitcoin] remove two unnecessary return; statements
    adds  feaa485   [lmp] don't THROW() an exception from a dissector


Summary of changes:
 epan/dissectors/packet-lmp.c |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)