Wireshark-commits: [Wireshark-commits] rev 48574: /trunk/epan/wmem/ /trunk/epan/wmem/: wmem_allocat

Date: Wed, 27 Mar 2013 00:27:46 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=48574

User: eapache
Date: 2013/03/26 05:27 PM

Log:
 Greatly improve wmem tests, including random fuzz-style testing. Improve
 assertions in the block allocator, and fix one rare potential underflow caught
 by the improved tests.
 
 The tests now take ~200MB and 5-10 seconds to run. Hopefully this is small
 enough for the build-bots to handle, if not then we can reduce the max
 allocation size or max iterations to suit.

Directory: /trunk/epan/wmem/
  Changes    Path                      Action
  +26 -13    wmem_allocator_block.c    Modified
  +86 -8     wmem_test.c               Modified