]> The Tcpdump Group git mirrors - tcpdump/commit
Don't assume the NFS request is aligned on a 4-byte boundary.
authorGuy Harris <[email protected]>
Wed, 25 Jun 2014 19:55:25 +0000 (12:55 -0700)
committerGuy Harris <[email protected]>
Wed, 25 Jun 2014 19:55:25 +0000 (12:55 -0700)
commitf2b690e8b5f2cb9306ef77374346260ea0a7839c
tree9bcc44f7ac2ec209d30c2322fe85c8b93ac0c93f
parenta509c52d31d1835d54295e9157d9ec387b27520b
Don't assume the NFS request is aligned on a 4-byte boundary.

The XID is a multi-byte field, and, if it's not aligned, it must be
copied with UNALIGNED_MEMCPY().

This should fix GitHub issue #395.
print-nfs.c