]> The Tcpdump Group git mirrors - tcpdump/commit
instrument functions: Add a length check
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 11 Mar 2023 08:46:09 +0000 (09:46 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 11 Mar 2023 08:46:09 +0000 (09:46 +0100)
commit1b838e1c5b61c37abc712609e64925fcad0bc2a2
tree58e1bb0c2098f097d227baec1f3a00cd120951b5
parent5414c0e869efb4cdd3df8983a707711790bf7432
instrument functions: Add a length check

We need space for the '\0'.

Same as in tcpslice to fix a Coverity issue.

Moreover:
Use '\0' for the null character.
instrument-functions.c