]> The Tcpdump Group git mirrors - tcpdump/commit
Replace ND_TCHECK_/memcpy() pairs with GET_CPY_BYTES().
authorGuy Harris <[email protected]>
Wed, 6 Jan 2021 02:01:26 +0000 (18:01 -0800)
committerGuy Harris <[email protected]>
Wed, 6 Jan 2021 02:08:50 +0000 (18:08 -0800)
commitf853e73acf39658125ce42861e49ce4a181611d3
tree726d5d178648599e9abb246f7554eb08f1444b83
parent6e816702d95742b18cbeb38a65958e531e48240a
Replace ND_TCHECK_/memcpy() pairs with GET_CPY_BYTES().

For BGP, this eliminates some cases where routines return -1 on
truncation; clean up after that.

This also means that some memcpy()s get replaced by UNALIGNED_MEMCPY(),
which may fix some issues on processors that don't support unaligned
accesses.
print-bgp.c
print-domain.c
print-icmp6.c
print-isoclns.c
print-ospf6.c