Wireshark-commits: [Wireshark-commits] master 4ff9bdd: wmem: fix rb-tree data printer feed
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=4ff9bddc4608cd6de1c729d1fbc39c9b49740c13
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
4ff9bdd by Jaap Keuter (jaap.keuter@xxxxxxxxx):
wmem: fix rb-tree data printer feed
When using a data printer for the red/black tree it is fed with the
nodes of the tree. But nodes can be either subtree or data nodes.
Don't feed the subtree nodes to the data printer. The data printer can't
recognize it as such, can't handle it, or worse, could break stuff.
Change-Id: Ibbc1311d901c0d0c52e710f951dd53620f2c3d0f
Reviewed-on: https://code.wireshark.org/review/19652
Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from b83bbd9 packet-frame: Make interface_name a filterable field.
adds 4ff9bdd wmem: fix rb-tree data printer feed
Summary of changes:
epan/wmem/wmem_tree.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)