]> The Tcpdump Group git mirrors - tcpdump/commit
RESP: Fix an invalid check
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 2 Mar 2022 20:48:43 +0000 (21:48 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 2 Mar 2022 20:49:17 +0000 (21:49 +0100)
commit9fe73b290d70525e1cae59bb55087ef81baf08e8
treecba581d8ef08cd9a4bb488aea885ad08787a8883
parentc43334b0d460eaee9de0a9186f2fb16ffe3d9ca9
RESP: Fix an invalid check

Fix this cppcheck warning:
print-resp.c:215:22: warning: Checking if unsigned expression 'length'
is less than zero. [unsignedLessThanZero]
    if(!bp || length <= 0)
                     ^
print-resp.c