Wireshark-commits: [Wireshark-commits] rev 45511: /trunk/ /trunk/epan/: addr_resolv.c packet.c /tru

Date: Fri, 12 Oct 2012 21:37:02 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45511

User: gerald
Date: 2012/10/12 02:37 PM

Log:
 Use seasonal allocation for name resolution. This effectively scrubs our
 resolution information between capture files so that we don't leak host
 entries from one file to another (e.g. embarassing-host-name.example.com
 from file1.pcapng into a name resolution block in file2.pcapng).
 
 host_name_lookup_cleanup and host_name_lookup_init must now be called
 after each call to se_free_all. As a result we now end up reading our
 various name resolution files much more than we should.

Directory: /trunk/epan/
  Changes    Path             Action
  +50 -36    addr_resolv.c    Modified
  +16 -2     packet.c         Modified

Directory: /trunk/wiretap/
  Changes    Path             Action
  +3 -3      file_access.c    Modified
  +1 -1      pcapng.c         Modified