Michael S. Tsirkin b4e5a4bffd 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>
2014-03-11 13:27:27 +02:00
..
2014-01-26 13:06:48 +02:00
2014-01-10 11:04:31 -08:00
2013-06-02 18:14:02 +03:00
2014-03-11 13:25:48 +02:00
2013-10-14 17:48:57 +03:00