diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-17 21:23:07 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2019-03-17 21:37:01 +0100 |
commit | ff10db64d6c8c8cafe024aa7863435eb6482f514 (patch) | |
tree | 610cbe72e5899791a5522a1b3a6745a5f98cac60 /tests/nfs-cannot-pad-32-bit.pcap | |
parent | 6c93708db1cd314ab4e6511596c625d617a15853 (diff) | |
download | tcpdump-ff10db64d6c8c8cafe024aa7863435eb6482f514.tar.gz |
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.
Diffstat (limited to 'tests/nfs-cannot-pad-32-bit.pcap')
-rw-r--r-- | tests/nfs-cannot-pad-32-bit.pcap | bin | 0 -> 162 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/tests/nfs-cannot-pad-32-bit.pcap b/tests/nfs-cannot-pad-32-bit.pcap Binary files differnew file mode 100644 index 00000000..2df699b7 --- /dev/null +++ b/tests/nfs-cannot-pad-32-bit.pcap |