]> The Tcpdump Group git mirrors - tcpdump/commit
DCCP: Fix some undefined behaviors at runtime
authorFrancois-Xavier Le Bail <[email protected]>
Sun, 11 Nov 2018 20:39:25 +0000 (21:39 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sun, 11 Nov 2018 20:46:08 +0000 (21:46 +0100)
commitd35638710c2566f6257edff64be7826256a37f56
tree6831ffa3328838d244cca50ae136a9ef680eae03
parent1c803f7812c7cd69cc9a90ac11ead8f48bfba64c
DCCP: Fix some undefined behaviors at runtime

The errors were like:
print-dccp.c:448:4: runtime error: unsigned integer overflow: 20 - 24
cannot be represented in type 'unsigned int'
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior print-dccp.c:448:4
print-dccp.c