Wireshark-commits: [Wireshark-commits] master dd15b20: Babel: prevent an infinite loop while parsin

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 19 Jun 2019 08:47:12 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dd15b203c7ec8a8ec5c930cf018c838991ee3182
Submitter: "Pascal Quantin <pascal@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

dd15b20 by Pascal Quantin (pascal@xxxxxxxxxxxxx):

    Babel: prevent an infinite loop while parsing sub-TLV
    
    While at it, ensure that we have no overflow when parsing the sub-TLV.
    
    Bug: 15856
    Change-Id: I2ceb30fd8a6abc2577c9df7baf6ceb45ee5f5b38
    Reviewed-on: https://code.wireshark.org/review/33656
    Petri-Dish: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Pascal Quantin <pascal@xxxxxxxxxxxxx>
    

Actions performed:

    from  484deec   PCEP: Add ASSOCIATION (sub) error
     add  dd15b20   Babel: prevent an infinite loop while parsing sub-TLV


Summary of changes:
 epan/dissectors/packet-babel.c | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)