]> The Tcpdump Group git mirrors - tcpdump/commit
OLSR: fix "Unchecked return value" found by Coverity
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 8 Dec 2014 21:18:16 +0000 (22:18 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 8 Dec 2014 21:18:16 +0000 (22:18 +0100)
commit07dfc4e1c4dae01c0d8a1196bb9e25799c8bcb6e
tree7ce76f1dc633a291ddce737295aa623294618b7b
parent043784b064d03ab8223f4c02fc0ba5f9dffecabd
OLSR: fix "Unchecked return value" found by Coverity

The bounds check is already done before by ND_TCHECK2(*msg_data, addr_size +
name_entry_len + name_entry_padding).
So we are deliberately ignoring the return values of fn_printn with last
argument NULL (no bounds check).
print-olsr.c