Wireshark-commits: [Wireshark-commits] master 8dc9551: Restrict the depth of the protocol tree.
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8dc9551e1d56290e6f7f02cc38b77e1d211fd4a5
Submitter: Gerald Combs (gerald@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
8dc9551 by Gerald Combs (gerald@xxxxxxxxxxxxx):
Restrict the depth of the protocol tree.
Limit the the protocol tree to 500 levels. This keeps us from running
out of stack space in proto_tree_traverse_{pre,post}_order.
Bug: 12268
Change-Id: I60f6b4487bf51a4d43da0429819a8a20fbdb313a
Reviewed-on: https://code.wireshark.org/review/14887
Petri-Dish: Gerald Combs <gerald@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Gerald Combs <gerald@xxxxxxxxxxxxx>
Actions performed:
from 21f1cec HTTP: treat request_uri and file_data as Unicode.
adds 8dc9551 Restrict the depth of the protocol tree.
Summary of changes:
epan/proto.c | 25 +++++++++++++++++++++++--
1 file changed, 23 insertions(+), 2 deletions(-)