]> The Tcpdump Group git mirrors - tcpdump/commit
Add some truncation checks.
authorfenner <fenner>
Mon, 4 Dec 2000 00:43:39 +0000 (00:43 +0000)
committerfenner <fenner>
Mon, 4 Dec 2000 00:43:39 +0000 (00:43 +0000)
commite3e36b4b682cd5a14cf3932b1e21f460f2ad79c6
tree595e313dd8350517ee74b7193cca0f66a22773c2
parentfb298cf2dd1b14c3857c42ab0e26d883fe4a6f4c
Add some truncation checks.
#include <netdb.h> for MAXHOSTNAMELEN on Solaris
Use EXTRACT_16BITS to extract 16-bit quantities
Print withdrawn routes if we think we can
Print must-be-zero attribute flags if they're not zero

Partly from: Jim Vaughn, http://www.tcpdump.org/lists/patches/107
print-bgp.c