Wireshark-commits: [Wireshark-commits] rev 41333: /trunk-1.6/wiretap/ /trunk-1.6/wiretap/: pcapng.c
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=41333
User: guy
Date: 2012/03/03 11:52 PM
Log:
Manually copy over rev 41332:
r41332 | guy | 2012-03-03 18:20:25 -0800 (Sat, 03 Mar 2012) | 11 lines
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).
but process only the first name in a NRB record - for resolving IP
addresses to names, only the first name matters, and, while for
resolving names to IP addresses in, for example, display filters, all
names would matter, we don't process all names.
Directory: /trunk-1.6/wiretap/
Changes Path Action
+138 -13 pcapng.c Modified