From: Guy Harris Date: Fri, 17 Feb 2017 21:51:51 +0000 (-0800) Subject: Printers MUST (not MAY or even SHOULD) check bounds. X-Git-Tag: tcpdump-4.99-bp~2072 X-Git-Url: https://git.tcpdump.org/tcpdump/commitdiff_plain/6311dc0b6ef0973a9406ab21bd5721e300a38d2b?ds=sidebyside Printers MUST (not MAY or even SHOULD) check bounds. --- diff --git a/print.c b/print.c index 41ca9cad..fb62e15c 100644 --- a/print.c +++ b/print.c @@ -329,8 +329,8 @@ pretty_print_packet(netdissect_options *ndo, const struct pcap_pkthdr *h, ts_print(ndo, &h->ts); /* - * Some printers want to check that they're not walking off the - * end of the packet. + * Printers must check that they're not walking off the end of + * the packet. * Rather than pass it all the way down, we set this member * of the netdissect_options structure. */