diff options
| author | Michael S. Tsirkin | 2014-03-10 20:30:16 +0100 |
|---|---|---|
| committer | Michael S. Tsirkin | 2014-03-11 12:27:27 +0100 |
| commit | b4e5a4bffda0d5dd79c87c66f28a5fac87182e30 (patch) | |
| tree | 21432659bdc387aa6086f53e7bb5843dad482489 /include/exec | |
| parent | q35: Correct typo BRDIGE -> BRIDGE (diff) | |
| download | qemu-b4e5a4bffda0d5dd79c87c66f28a5fac87182e30.tar.gz qemu-b4e5a4bffda0d5dd79c87c66f28a5fac87182e30.tar.xz qemu-b4e5a4bffda0d5dd79c87c66f28a5fac87182e30.zip | |
acpi-build: don't access unaligned addresses
casting an unaligned address to e.g.
uint32_t can trigger undefined behaviour in C.
Replace cast + assignment with memcpy.
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions
