Wireshark-commits: [Wireshark-commits] master d70bd44: GVCP: Fix an infinite loop.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 30 Jun 2020 06:29:24 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=d70bd4489feed4035c3a35cd2e76cdf877b3f485
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

d70bd44 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    GVCP: Fix an infinite loop.
    
    Remove an "if(tree)" test in order to ensure that our offset always
    advances.
    
    Bug: 16029
    Change-Id: I5bb38f2eccfbf3c44a06682a17aafcba9d8fa0c6
    Reviewed-on: https://code.wireshark.org/review/37611
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  5258cea   cppcheck: add a -o option to check modified or staged changes
     add  d70bd44   GVCP: Fix an infinite loop.


Summary of changes:
 epan/dissectors/packet-gvcp.c | 111 ++++++++++++++++++++----------------------
 1 file changed, 54 insertions(+), 57 deletions(-)