Wireshark-commits: [Wireshark-commits] master-1.12 74085a5: llrp: limit recursion depth
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=74085a5911b2c9d3120f0a978698455cd191636a
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
74085a5 by Evan Huus (eapache@xxxxxxxxx):
llrp: limit recursion depth
LLRP defines fairly complex parameter nesting which we handle via recursion,
however this means a large crafted packet could cause very deep stacks and
potentially stack overflows. Limit our recursive depth to an arbitrary, which
should be more than enough for any legitimate packet (I hope).
Bug: 12048
Change-Id: I9ac31bddfa4ffd1a79809387d10d2261749b95e7
Reviewed-on: https://code.wireshark.org/review/13796
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 53c435a Prep for 1.12.10.
adds 74085a5 llrp: limit recursion depth
Summary of changes:
epan/dissectors/packet-llrp.c | 67 +++++++++++++++++++++--------------------
1 file changed, 35 insertions(+), 32 deletions(-)