Limit tvbparse recursion.
authorGerald Combs <gerald@wireshark.org>
Mon, 8 Jan 2018 21:54:00 +0000 (13:54 -0800)
committerMichael Mann <mmann78@netscape.net>
Mon, 8 Jan 2018 23:55:13 +0000 (23:55 +0000)
commit94479aded162aecce6289bdf26f95073bed0dc55
tree3d2089eec8d14c3da82f8df88402c4d79f780c0c
parent7ec5dead2ffc03f009398a0a30217052e6749ad0
Limit tvbparse recursion.

Add a recursion check to tvbparse so that we don't overflow our stack.

Bug: 14253
Change-Id: I0f667c3720311318267a1184b33e33253f8ff729
Reviewed-on: https://code.wireshark.org/review/25202
Reviewed-by: Gerald Combs <gerald@wireshark.org>
Petri-Dish: Gerald Combs <gerald@wireshark.org>
Tested-by: Petri Dish Buildbot
Reviewed-by: Michael Mann <mmann78@netscape.net>
epan/tvbparse.c
epan/tvbparse.h