Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] rev 44380: /trunk/epan/ /trunk/epan/: emem.c

Date: Thu, 09 Aug 2012 13:59:29 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=44380

User: mmann
Date: 2012/08/09 06:59 AM

Log:
 Make emem_tree_*32_array functions non-destructive.  The following dissectors/files have affectively been bugfixed by the change:
 packet-classicstun.c
 packet-reload-framing.c (probably)
 packet-reload.c
 packet-sccp.c
 packet-sua.c
 packet-tcp.c
 packet-xmcp.c
 \epan\gcp.c
 
 The following files unnecessarily recreate keys because of the previously destructive nature of emem_tree_*32_array functions:
 packet-btl2cap.c
 packet-nfs.c
 packet-rpc.c
 packet-scsi-osd.c
 packet-stun.c (per Bug 7569)
 
 These could be cleaned up, but it's not like the key recreation is burning CPU cycles.

Directory: /trunk/epan/
  Changes    Path          Action
  +111 -9    emem.c        Modified