tcpdump/tests/nfs-cannot-pad-32-bit.out
Francois-Xavier Le Bail ff10db64d6 NFS: Fix an undefined behavior at runtime
The error was:
print-nfs.c:537:2: runtime error: unsigned integer overflow:
4294967295 + 3 cannot be represented in type 'unsigned int'
print-nfs.c:541:14: runtime error: unsigned integer overflow:
4294967295 + 3 cannot be represented in type 'unsigned int'

Add a test case.
2019-03-17 21:37:01 +01:00

2 lines
224 B
Plaintext

1 20:06:29.742549 IP 127.0.0.1.63476 > 127.0.0.1.2049: NFS request xid 1168185174 80 lookup fh Unknown/BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB [cannot pad to 32-bit boundaries] (invalid) [|nfs]