diff options
author | Brian Behlendorf <[email protected]> | 2014-01-07 23:24:37 +0100 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2014-01-09 15:50:15 -0800 |
commit | aa0218d6a12814fac50b287214f9f3b0b99e11b1 (patch) | |
tree | 697351bc65aca001f831b181d7b718b6ddeb05ea /module/zfs/zfs_ctldir.c | |
parent | 7f89ae6ba0f4e3c1b3e62272bbaa8228afdb020d (diff) |
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 <[email protected]>
Signed-off-by: Ned Bass <[email protected]>
Signed-off-by: marku89 <[email protected]>
Issue #1700
Diffstat (limited to 'module/zfs/zfs_ctldir.c')
0 files changed, 0 insertions, 0 deletions