wireshark/epan/wmem
Peter Wu f4be16aa45 wmem_tree: fix crash with wmem_tree_destroy and NULL scope
The function was documented for use with a NULL scope, but it actually
crashes since callbacks are not available for NULL scopes. git master
is unaffected, but the GTK+ protocol dialog in 2.4 and 2.6 do crash.

Bug: 14349
Change-Id: I54350e112192394797cf85eaac4f30194178d7c4
Fixes: v2.3.0rc0-2597-gb7d6cca4ae ("Add wmem_tree_destroy")
Reviewed-on: https://code.wireshark.org/review/30126
Petri-Dish: Peter Wu <peter@lekensteyn.nl>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
2018-10-12 05:08:18 +00:00
..
CMakeLists.txt Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
wmem.h
wmem_allocator.h
wmem_allocator_block.c
wmem_allocator_block.h
wmem_allocator_block_fast.c
wmem_allocator_block_fast.h
wmem_allocator_simple.c fix missing parentheses in 'if' statement 2018-05-03 04:09:42 +00:00
wmem_allocator_simple.h
wmem_allocator_strict.c
wmem_allocator_strict.h
wmem_array.c
wmem_array.h
wmem_core.c Try to discourage the use of APIs via counting. 2018-09-19 16:07:03 +00:00
wmem_core.h
wmem_interval_tree.c wmem_interval_tree: fix no previous prototype for ‘update_edges_after_rotation’ [-Wmissing-prototypes] 2018-07-31 15:38:35 +00:00
wmem_interval_tree.h
wmem_list.c
wmem_list.h
wmem_map.c fix missing parentheses in 'if' statement 2018-05-03 04:09:42 +00:00
wmem_map.h
wmem_map_int.h
wmem_miscutl.c
wmem_miscutl.h
wmem_queue.h
wmem_scopes.c
wmem_scopes.h
wmem_stack.c
wmem_stack.h
wmem_strbuf.c
wmem_strbuf.h
wmem_strutl.c wmem: make wmem_strsplit behave more like g_strsplit 2018-07-17 09:03:22 +00:00
wmem_strutl.h wmem: make wmem_strsplit behave more like g_strsplit 2018-07-17 09:03:22 +00:00
wmem_test.c wmem_test: fix no previous prototype for ‘check_val_map’ [-Wmissing-prototypes] 2018-09-05 19:59:25 +00:00
wmem_tree-int.h
wmem_tree.c wmem_tree: fix crash with wmem_tree_destroy and NULL scope 2018-10-12 05:08:18 +00:00
wmem_tree.h wmem_tree: describe tree traversal order 2018-07-14 06:49:40 +00:00
wmem_user_cb.c
wmem_user_cb.h
wmem_user_cb_int.h