freebsd-dev/module/nvpair
Brian Behlendorf aa0218d6a1 Fix nvlist 'Bus Error' for Sparc
The mis-aligned memory accesses in nvpair_native_embedded() and
nvpair_native_embedded_array() will cause a 'Bus Error' for
architectures such as Sparc which not fully byte addressible.
To avoid this issue care is taken to avoid dereferencing the
potentially mis-aligned packed nvlist_t.

Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ned Bass <bass6@llnl.gov>
Signed-off-by: marku89 <mar42@kola.li>
Issue #1700
2014-01-09 15:50:15 -08:00
..
fnvpair.c Illumos #3464 2013-09-04 16:01:24 -07:00
Makefile.in Illumos #2619 and #2747 2013-01-08 10:35:35 -08:00
nvpair_alloc_fixed.c Add linux kernel module support 2010-08-31 13:41:58 -07:00
nvpair_alloc_spl.c cstyle: Resolve C style issues 2013-12-18 16:46:35 -08:00
nvpair.c Fix nvlist 'Bus Error' for Sparc 2014-01-09 15:50:15 -08:00