Wireshark-commits: [Wireshark-commits] rev 25927: /trunk/epan/ /trunk/epan/: emem.c emem.h packet.c
Date: Tue, 05 Aug 2008 02:23:37 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=25927

User: lego
Date: 2008/08/04 07:23 PM

Log:
 Add a debug helper for EP memory corruption
 
 if compiled in and the env var WIRESHARK_DEBUG_EP_CANARY is set:
 will check for canary integrity at every call to EP_CHECK_CANARY()
 if corruption is found it exits pronting the prior location and the location in which corruption was found.
 Hopefully it stops running while the corruptor is still in the stack.
 
 see EP_CHECK_CANARY() calls in packet.c as an example.

Directory: /trunk/epan/
  Changes    Path          Action
  +53 -1     emem.c        Modified
  +15 -0     emem.h        Modified
  +17 -2     packet.c      Modified