X-Git-Url: https://git.tcpdump.org/tcpdump/blobdiff_plain/544802f1839926d09f6d15743df54f206b6d7990..d0e12e23776cf87792d3f530731cc42c44a95514:/print-bootp.c diff --git a/print-bootp.c b/print-bootp.c index cde86456..d1534c7a 100644 --- a/print-bootp.c +++ b/print-bootp.c @@ -22,7 +22,7 @@ */ #ifndef lint static const char rcsid[] _U_ = - "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.78 2004-03-02 07:38:10 hannes Exp $ (LBL)"; + "@(#) $Header: /tcpdump/master/tcpdump/print-bootp.c,v 1.79 2005-04-20 10:30:52 guy Exp $ (LBL)"; #endif #ifdef HAVE_CONFIG_H @@ -557,9 +557,10 @@ rfc1048_print(register const u_char *bp) case TAG_CLIENT_FQDN: /* option 81 should be at least 4 bytes long */ - if (len < 4) + if (len < 4) { printf("ERROR: options 81 len %u < 4 bytes", len); break; + } if (*bp++) printf("[svrreg]"); if (*bp)