commit | 1afbd76155ca72b215f41f4870e5cdf91afd8f3c | [log] [tgz] |
---|---|---|
author | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Jun 21 10:22:26 2010 +0800 |
committer | Holger Hans Peter Freyther <zecke@selfish.org> | Mon Jun 21 16:40:09 2010 +0800 |
tree | 4ed06cbce2247e36d48076543d284ed99d9c5365 | |
parent | 34949ae9242445a6047dd289e149aae0d41871cb [diff] |
abis_nm.c: Reading the in_addr can lead to unaligned memory access The value of the in_addr might not be 32 bit aligned and reading it can generate an alignment error on ARM. Fix it by using memcpy to copy the data into a local variable. There are many more potential alignment issues that we will fix when we hit them.