]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Printers MUST (not MAY or even SHOULD) check bounds.
authorGuy Harris <[email protected]>
Fri, 17 Feb 2017 21:51:51 +0000 (13:51 -0800)
committerGuy Harris <[email protected]>
Fri, 17 Feb 2017 21:51:51 +0000 (13:51 -0800)
print.c

diff --git a/print.c b/print.c
index 41ca9cadf8e493fc53f373483ba5c5d76d3653a8..fb62e15c202880ea90b2e41275bffcf9034df760 100644 (file)
--- 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.
         */