Wireshark-commits: [Wireshark-commits] master-2.6 6f56fc9: BACapp: Add a nesting / recursion check.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 07 Apr 2020 16:10:09 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6f56fc9496db158218243ea87e3660c874a0bab0
Submitter: "Gerald Combs <gerald@xxxxxxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

6f56fc9 by Gerald Combs (gerald@xxxxxxxxxxxxx):

    BACapp: Add a nesting / recursion check.
    
    Track our recursion depth in fAbstractSyntaxNType. It calls several
    functions which in turn call it, which makes it easy to overflow the
    stack.
    
    Bug: 16474
    Change-Id: Ibad29272f99449bfa13b7422692e20ba8a79e19c
    Reviewed-on: https://code.wireshark.org/review/36725
    Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 15dc2f6bd4c9a674333cbc97260362524d5364de)
    Reviewed-on: https://code.wireshark.org/review/36736
    

Actions performed:

    from  8511253   [Automatic update for 2020-04-05]
     add  6f56fc9   BACapp: Add a nesting / recursion check.


Summary of changes:
 epan/dissectors/packet-bacapp.c | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)