]> The Tcpdump Group git mirrors - tcpdump/commit
Babel: Add a test capture file
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 28 Oct 2019 15:31:47 +0000 (16:31 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 28 Oct 2019 17:01:22 +0000 (18:01 +0100)
commit6d20b784a387cffc95a589da1cec1af07dbf1381
tree8be272981641cd362727bf7608de77f1bef7800e
parent4900c023e319374a523dc365acf1285f3ff3036f
Babel: Add a test capture file

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 pass the sanity checks and to avoid
pcap_loop() error messages.

Moreover:
Fix an existing length check.

Update the output of the test accordingly.

Partial update from 12f66f69f7bf1ec1266ddbee90a7616cbf33696b
in 4.9 branch.
print-babel.c
tests/TESTLIST
tests/babel_update_oobr.out [new file with mode: 0644]
tests/babel_update_oobr.pcap [new file with mode: 0644]