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

Commits:

5c04660 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/36735
    

Actions performed:

    from  c8edc4d   [Automatic update for 2020-04-05]
     add  5c04660   BACapp: Add a nesting / recursion check.


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