tcpdump/tests/ipx-invalid-length.out
Francois-Xavier Le Bail a24cccfd4a IPX: Add a length check
This fix an undefined behavior at runtime.

The error was:
print-ipx.c:93:43: runtime error: unsigned integer overflow: 29 - 30
cannot be represented in type 'unsigned int'

Add a test case.
2019-03-11 22:07:06 +01:00

2 lines
121 B
Plaintext

1 16:41:40.226660 IPX 0a8808aa.00:00:00:00:00:01.0451 > 8dc23c00.18:00:3e:2b:68:56.402b: [length 29 < 30] (invalid)