diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:52:33 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:52:33 +0000 |
commit | 7ba700b7f6e5fb17d280e2b8a3ae28866777715f (patch) | |
tree | 2f538ff3d975beabb6c371d999b1ee6e8b91cfb5 /print-juniper.c | |
parent | Releasing progress-linux version 4.99.4-4~progress7.99u1. (diff) | |
download | tcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.tar.xz tcpdump-7ba700b7f6e5fb17d280e2b8a3ae28866777715f.zip |
Merging upstream version 4.99.5.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'print-juniper.c')
-rw-r--r-- | print-juniper.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/print-juniper.c b/print-juniper.c index 2fc0b55..f2d5c75 100644 --- a/print-juniper.c +++ b/print-juniper.c @@ -22,9 +22,7 @@ __RCSID("NetBSD: print-juniper.c,v 1.3 2007/07/25 06:31:32 dogcow Exp "); #endif -#ifdef HAVE_CONFIG_H #include <config.h> -#endif #include "netdissect-stdinc.h" @@ -1331,7 +1329,8 @@ juniper_parse_header(netdissect_options *ndo, /* sanity checks */ if (tlv_type == 0 || tlv_len == 0) break; - ND_LCHECK_U(extension_length, tlv_len + JUNIPER_EXT_TLV_OVERHEAD); + ND_ICHECK_U(extension_length, <, + tlv_len + JUNIPER_EXT_TLV_OVERHEAD); if (ndo->ndo_vflag > 1) ND_PRINT("\n\t %s Extension TLV #%u, length %u, value ", |