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 41332: /trunk/wiretap/ /trunk/wiretap/: pcapng.c

Date: Sun, 04 Mar 2012 02:20:25 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41332

User: guy
Date: 2012/03/03 06:20 PM

Log:
 Make sure all names in NRB records are null-terminated; report an error
 if they're not.  Also report an error for zero-length names.
 
 Handle multiple names per IP address - the pcap-NG spec says "one or
 more zero-terminated strings containing the DNS entries for that
 address."
 
 Use a Buffer to hold NRB records, so there's no maximum size (well,
 there is a maximum size, because the record length is 16 bits, but let's
 not allocate 64KiB on the stack if we don't have to).

Directory: /trunk/wiretap/
  Changes    Path          Action
  +138 -13   pcapng.c      Modified