Wireshark-commits: [Wireshark-commits] master 6a8c1b9: epan: Add p_[gs]et_proto_depth.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6a8c1b9b932d70428356ca35da653d943e799546
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
6a8c1b9 by Gerald Combs (gerald@xxxxxxxxxxxxx):
epan: Add p_[gs]et_proto_depth.
Add convenience routines for getting and setting a per-protocol,
per-packet depth value, which can be used to limit recursion, nesting,
cycling, etc. Use them in the BACapp, DAAP, Mongo, VLAN, and WBXML
dissectors.
Change-Id: I172514828169253ae7fcf9162c9d7eeb3041ff9c
Reviewed-on: https://code.wireshark.org/review/36846
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 e9e90f6 Docbook: Documentation toolchain documentation updates.
add 6a8c1b9 epan: Add p_[gs]et_proto_depth.
Summary of changes:
debian/libwireshark0.symbols | 2 +
epan/dissectors/packet-bacapp.c | 9 ++-
epan/dissectors/packet-daap.c | 14 ++--
epan/dissectors/packet-mongo.c | 39 ++++++-----
epan/dissectors/packet-vlan.c | 4 +-
epan/dissectors/packet-wbxml.c | 149 +++++++++++++++++++++-------------------
epan/proto_data.c | 10 +++
epan/proto_data.h | 28 ++++++++
8 files changed, 154 insertions(+), 101 deletions(-)