[pcap-ng-format] Plans to finalize pcap-ng 1.1 spec during July

Guy Harris guy at alum.mit.edu
Thu May 29 23:39:34 UTC 2014


On Jun 30, 2012, at 4:32 PM, Guy Harris <guy at alum.mit.edu> wrote:

> If we're going to use the 1.1 spec to deal with ambiguities and other errors, I'd also like to see us:
> 
> 	specify whether UTF-8 strings in pcap-ng files must be null-terminated or if it's sufficient for them to be counted (they all have lengths, so null-termination is redundant, and any program that reads pcap-ng files has to *somehow* handle non-null-terminated strings, either by rejecting them or by adding a null if the program is using string processing operators that require null terminators, so my inclination is *not* to require null termination);

OK, I've checked in a change to note that strings are not necessarily null-terminated, so readers of the files must not assume that there's a null terminator, but that they should treat a null byte as a terminator.



More information about the pcap-ng-format mailing list