summaryrefslogtreecommitdiffstats
path: root/contrib/tcpdump/tcpdump.c
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-04-11 14:44:18 +0000
committeremaste <emaste@FreeBSD.org>2016-04-11 14:44:18 +0000
commit51b775d978b5da735d95a043209152135543ca13 (patch)
tree06f62e33b164d0034c1179d814ed786594e2046e /contrib/tcpdump/tcpdump.c
parent48db6cc4af720f4e97712819de72f37ca0140725 (diff)
downloadFreeBSD-src-51b775d978b5da735d95a043209152135543ca13.zip
FreeBSD-src-51b775d978b5da735d95a043209152135543ca13.tar.gz
MFC r275430: libelf: Fix cross-endian ELF note file / memory conversion
The namesz and descsz variables need to be used in native endianness. The sizes are in native order after swapping in the file to memory case, and before swapping in the memory to file case. This change is not identical to r275430 because r273443 was never merged to stable/10, and libelf moved from lib/ to contrib/elftoolchain/.
Diffstat (limited to 'contrib/tcpdump/tcpdump.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud