Wireshark-commits: [Wireshark-commits] master-1.12 ce246a6: [GTK] Fix crash in comparestat.c
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=ce246a6b64540d18f61e396df639213914c2421b
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark
Commits:
ce246a6 by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):
[GTK] Fix crash in comparestat.c
Selecting a row in the statistics table causes a Glib assertion failure.
GLib:ERROR:ghash.c:373:g_hash_table_lookup_node: assertion failed: (hash_table->ref_count > 0)
When the comparestat_draw() function is called, the cs->ip_id_set hash table
is created and then immediately destroyed, but the hash table lookup
to cs->ip_id_set in new_tree_view_selection_changed() can happen anytime
the user clicks on a table row.
Bug: 11098
Change-Id: I6c7a39c947ca11327c3fc3ab0d4caa735798d142
Reviewed-on: https://code.wireshark.org/review/10096
Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
(cherry picked from commit 9c331f73b5be7cde6b04b6cb68cf73deb4bdc4ce)
Reviewed-on: https://code.wireshark.org/review/10193
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from 52dadc7 IPv6 RPL: "cmprI" should be "cumprE"
adds ce246a6 [GTK] Fix crash in comparestat.c
Summary of changes:
ui/gtk/compare_stat.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)