summaryrefslogtreecommitdiff
path: root/print-forces.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2012-06-08 19:07:20 -0700
committerGuy Harris <guy@alum.mit.edu>2012-06-08 19:07:20 -0700
commit26687fd6b92943a63d561a7e7f6f6d422296f81c (patch)
tree6edab0156b7f76c10c8e3c1c23a7372ac9c2b637 /print-forces.c
parent44170613859f781dd1891951ac3f1179f4559b69 (diff)
downloadtcpdump-26687fd6b92943a63d561a7e7f6f6d422296f81c.tar.gz
Add some attribute/TLV length checks.
Make sure we don't run past the end of a BGP attribute or LDP TLV when dissecting the attribute/TLV. Make some of the code do a bit more of a "step the pointer through the data"-style dissection; that was done while debugging the changes in question. It also fixes up some code to not check for more data than should actually be there. Update references to RFC 4906 from the draft, and note that RFC 4447 replaces it.
Diffstat (limited to 'print-forces.c')
0 files changed, 0 insertions, 0 deletions