]> The Tcpdump Group git mirrors - tcpdump/commit
ICMP: Fix an undefined behavior at runtime
authorFrancois-Xavier Le Bail <[email protected]>
Fri, 8 Mar 2019 11:46:49 +0000 (12:46 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Fri, 8 Mar 2019 11:48:59 +0000 (12:48 +0100)
commit2b4a3e6a6316188551e2659b21d0eb93588724d6
treeee20cdae03b53d17f8c46ac77210c9435717c36c
parent9be45b2369666607980451d0c85b6fc62d529189
ICMP: Fix an undefined behavior at runtime

The error was:
print-icmp.c:491:13: runtime error: unsigned integer overflow: 0 - 1
cannot be represented in type 'u_int' (aka 'unsigned int')
print-icmp.c