wireshark/epan/wmem
Evan Huus 31bd48bce3 *sigh*
From the comment above wmem_tree_insert32_array():
 * If you use ...32_array() calls you MUST make sure that every single node
 * you add to a specific tree always has a key of exactly the same number of
 * keylen words or things will most likely crash. Or at least that every single
 * item that sits behind the same top level node always have exactly the same
 * number of words.

So clearly generating thousands of keys with random lengths while testing is
going to cause problems. Generate a set of random lengths, then use those
lengths consistently (but still generating random keys of those lengths).

Should hopefully fix the intermittent build-bot failures.

(unfortunately this does not manifest nicely, and I cannot see an easy way to
assert it so that we catch other people trying to use different-length key
subtrees)

svn path=/trunk/; revision=50184
2013-06-27 03:44:48 +00:00
..
Makefile.am Add empty placeholder wmem test suite. Hopefully my automake skills were 2013-03-20 00:28:36 +00:00
Makefile.common Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so we 2013-06-18 21:42:54 +00:00
Makefile.nmake makefile.nmake -> Makefile.nmake and minor whitespace (spaces -> tabs) changes. 2013-06-25 15:32:49 +00:00
wmem.h Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so we 2013-06-18 21:42:54 +00:00
wmem_allocator.h Rework wmem scoping limits so that users can still get a handle to a pool when 2013-06-19 18:28:13 +00:00
wmem_allocator_block.c Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_block.h Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_simple.c Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_simple.h Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_strict.c Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_allocator_strict.h Minor refactor: make the framework responsible for allocating and freeing the 2013-05-22 15:42:12 +00:00
wmem_core.c Rework wmem scoping limits so that users can still get a handle to a pool when 2013-06-19 18:28:13 +00:00
wmem_core.h Add wmem_alloc_array, wmem_strsplit, wmem_strconcat. 2013-06-18 21:25:37 +00:00
wmem_miscutl.c Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so we 2013-06-18 21:42:54 +00:00
wmem_miscutl.h Resurrect wmem_memdup in its own misc. utilities group. Emem provides it, so we 2013-06-18 21:42:54 +00:00
wmem_scopes.c Rework wmem scoping limits so that users can still get a handle to a pool when 2013-06-19 18:28:13 +00:00
wmem_scopes.h Add the appropriate new WS_DLL_* declarations to the wmem API. 2013-03-09 20:25:44 +00:00
wmem_slist.c In part from Raúl Pérez Clavero via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=8275 2013-04-30 01:23:10 +00:00
wmem_slist.h First batch of doxygen for wmem. Remove some things from README.wmem now that 2013-05-26 02:40:40 +00:00
wmem_stack.c Remove the wmem slab. It was an optimization mimicking the emem slab 2013-03-09 20:16:33 +00:00
wmem_stack.h First batch of doxygen for wmem. Remove some things from README.wmem now that 2013-05-26 02:40:40 +00:00
wmem_strbuf.c Wmem string-buffer improvements: 2013-04-26 21:30:24 +00:00
wmem_strbuf.h Add wmem_strbuf_new_label as just a sized new for label lengths. 2013-06-19 17:34:24 +00:00
wmem_strutl.c Clean up wmem_strsplit to remove a bunch of weird switch statements and 2013-06-19 06:48:08 +00:00
wmem_strutl.h Add wmem_alloc_array, wmem_strsplit, wmem_strconcat. 2013-06-18 21:25:37 +00:00
wmem_test.c *sigh* 2013-06-27 03:44:48 +00:00
wmem_tree.c Misc little cleanups to wmem tree (comments, whitespace, assertions) 2013-06-27 03:01:53 +00:00
wmem_tree.h Fix wmem_tree.h ifdef guards, hopefully fixing the check-abi buildbot. 2013-06-24 22:37:04 +00:00
wmem_user_cb.c More callback tweaks, to permit unregistering a callback from the same place 2013-06-16 22:37:55 +00:00
wmem_user_cb.h More callback tweaks, to permit unregistering a callback from the same place 2013-06-16 22:37:55 +00:00
wmem_user_cb_int.h More callback tweaks, to permit unregistering a callback from the same place 2013-06-16 22:37:55 +00:00