summaryrefslogtreecommitdiff
path: root/tcpdump.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-01-18 17:32:36 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2020-01-18 19:30:38 +0100
commit521ac1db3f6ba4654aa94227d9c146ab55c7d84f (patch)
treed84a7a088bf483d2e06fe1a56214ca584fa6e4a5 /tcpdump.c
parent840c934e3e2dd1793e469d426abf6bf4afd0069b (diff)
downloadtcpdump-521ac1db3f6ba4654aa94227d9c146ab55c7d84f.tar.gz
LDP: Add some missing bounds checks
Replace calls to ipaddr_string()/ip6addr_string() with calls to GET_IPADDR_STRING()/GET_IP6ADDR_STRING() macros performing bounds checking. Fix a regression in 78a4ee82226a3fe19981841dfe24d5e9cb437524. This fixes a buffer over-read in ldp_tlv_print() discovered by Jason Xiaole. Add a test using the capture file supplied by the reporter updated to keep only the packet showing the buffer over-read.
Diffstat (limited to 'tcpdump.c')
0 files changed, 0 insertions, 0 deletions