]> The Tcpdump Group git mirrors - tcpdump/blobdiff - print-slow.c
CVE-2016-7931/Add bounds and length checks.
[tcpdump] / print-slow.c
index 7e83d1669be2c0e01931b8f5ba7e0171f472e3c4..42154140d0020a10b191908e3edfdd5ef649473a 100644 (file)
@@ -18,6 +18,8 @@
  * Original code by Hannes Gredler ([email protected])
  */
 
+/* \summary: IEEE "slow protocols" (802.3ad/802.3ah) printer */
+
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -244,7 +246,7 @@ struct lacp_marker_tlv_terminator_t {
 static void slow_marker_lacp_print(netdissect_options *, register const u_char *, register u_int);
 static void slow_oam_print(netdissect_options *, register const u_char *, register u_int);
 
-const struct slow_common_header_t *slow_com_header;
+static const struct slow_common_header_t *slow_com_header;
 
 void
 slow_print(netdissect_options *ndo,