Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | LDP: Add some missing bounds checks | Francois-Xavier Le Bail | 2020-01-18 | 1 | -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. |