]> The Tcpdump Group git mirrors - tcpdump/commit
IS-IS: Fix a loop for undefined behavior at runtime
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 8 Apr 2019 12:33:23 +0000 (14:33 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 8 Apr 2019 15:23:53 +0000 (17:23 +0200)
commitfed13fc486024a3c02b3e0b6db953ffb23b0e2f4
tree668da9563260dcfb36e69caab3bd746f751d5de5
parentcc82ffa44fabb75e4ea10033452699b389c57b8a
IS-IS: Fix a loop for undefined behavior at runtime

The error was:
print-isoclns.c:2822:7: runtime error: unsigned integer overflow:
4 - 6 cannot be represented in type 'unsigned int'

Update the output of a test accordingly.

Moreover:
Clean up whitespaces/indentation.
print-isoclns.c
tests/isis-extd-ipreach-oobr.out