summaryrefslogtreecommitdiff
path: root/tests/ldp_tlv_print-oobr.pcap
Commit message (Collapse)AuthorAgeFilesLines
* LDP: Add some missing bounds checksFrancois-Xavier Le Bail2020-01-181-0/+0
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.