]> The Tcpdump Group git mirrors - tcpdump/commit
LDP: Fix an undefined behavior at runtime
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 18 Aug 2019 15:47:19 +0000 (17:47 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 18 Aug 2019 15:47:19 +0000 (17:47 +0200)
commitafe2f6bf9acfa1e7d47beeab290fd6d293331e98
tree5d705d27164c9842f70410925358c316f5221245
parent34793126761f1e5dfb0dae439d829f2b747f65af
LDP: Fix an undefined behavior at runtime

The error was:
print-ldp.c:557:13: runtime error: unsigned integer overflow: 32 - 34
cannot be represented in type 'unsigned int'

(backported from commit f50b5d79085dd3c5212b52a99697cb4ccd4dea6d)
print-ldp.c