Wireshark-commits: [Wireshark-commits] master-2.0 c01faec: TCP: replace some dissector asserts by a

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 1 Nov 2015 03:21:45 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c01faec5f48895a209e2c3b4bd83a8960f2fa53d
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

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

    TCP: replace some dissector asserts by a return
    
    It prevents an assert in case of malformed packet
    
    Bug: 11662
    Change-Id: If5d7196c7e6ecd0ffe8ed97213dbd64bc1f69cbb
    Reviewed-on: https://code.wireshark.org/review/11464
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Petri-Dish: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit ced7412c1062a74afc3f973fe1e3d1238a0acf40)
    Reviewed-on: https://code.wireshark.org/review/11469
    

Actions performed:

    from  b9f1ab6   Add some "protocol placeholders" to remove confusion with Decode As.
    adds  c01faec   TCP: replace some dissector asserts by a return


Summary of changes:
 epan/dissectors/packet-tcp.c |   10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)