Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | LDP: Fix a length check | Francois-Xavier Le Bail | 2019-10-21 | 1 | -2/+1 |
| | | | | | | | | | | | | | | | | | | In ldp_tlv_print(), the FT Session TLV length must be 12, not 8 (RFC3479) Moreover: Update the TLV_TCHECK() macro to remove the useless ND_TCHECK_LEN() call with the GET_ macros. Thus remain the length check giving a more accurate output. Rename a label. Update the output of a test accordingly. Add a comment. Partial update from aa5c6b710dfd8020d2c908d6b3bd41f1da719b3b in 4.9 branch. | ||||
* | LDP: Add a test capture file | Francois-Xavier Le Bail | 2019-10-21 | 1 | -0/+7 |
This capture file triggered a buffer over-read with the 4.9.2 release fixed in the 4.9.3 release. With the new GET_ macros, the problem no longer exists. Thus no fix needed. The pcap file was updated to avoid pcap_loop() error messages. Update the output of the test accordingly. Partial update from aa5c6b710dfd8020d2c908d6b3bd41f1da719b3b in 4.9 branch. |