diff options
author | emaste <emaste@FreeBSD.org> | 2014-12-02 22:35:43 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-12-02 22:35:43 +0000 |
commit | 4117e1b259288db9747f75a75711bb2c63e72012 (patch) | |
tree | e42954e04a04a449f9b97c2526f8bb8de3c2088f /sys/dev | |
parent | 6607aca9658b408f28979d275c7f9d5a803be99e (diff) | |
download | FreeBSD-src-4117e1b259288db9747f75a75711bb2c63e72012.zip FreeBSD-src-4117e1b259288db9747f75a75711bb2c63e72012.tar.gz |
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 issue was identified for r273443, but the change was applied to the
wrong case. Revert r273443 to fix the to-memory case, and apply the
equivalent change to the to-file case.
Sponsored by: DARPA, AFRL
Reviewed by: adrian, brooks, marcel
Differential Revision: https://reviews.freebsd.org/D1257
Diffstat (limited to 'sys/dev')
0 files changed, 0 insertions, 0 deletions