mirror of
https://github.com/the-tcpdump-group/tcpdump.git
synced 2024-11-24 10:33:28 +08:00
968776fbf5
The bounds checks fix some heap overflows found with American Fuzzy Lop by Hanno Böck. Add some ND_TTEST_/ND_TCHECK_ macros to extract.h to simplify writing bounds checks for code that uses the other macros in that file. Fix the printing of the SPB BPDU agreement digest - I don't think the intent was to print the value of the first 4 bytes, that value + 4, that value + 8, etc., I suspect it was to print the first 4 bytes, the next 4 bytes, etc..
28 lines
1.9 KiB
Plaintext
28 lines
1.9 KiB
Plaintext
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
30:30:30:30:30:30 > 30:30:30:30:30:30, ethertype Unknown (0x3030), length 808464432:
|
|
0x0000: 3030 3030 3030 000000
|
|
STP 802.1d[|stp 808464415]
|