[libvirt] [PATCH] Fix dbus message reading code on big endian hosts

2013-07-29 Thread Daniel P. Berrange
From: Daniel P. Berrange berra...@redhat.com The way we were casting small (32bit) integers was broken on big endian hosts, causing stack smashing. This was detected in the test suite either by test failures due to incorrect results, or by libc/gcc abort'ing with its stack canary triggered.

Re: [libvirt] [PATCH] Fix dbus message reading code on big endian hosts

2013-07-29 Thread Daniel P. Berrange
On Mon, Jul 29, 2013 at 05:30:48PM +0100, Daniel P. Berrange wrote: From: Daniel P. Berrange berra...@redhat.com The way we were casting small (32bit) integers was broken on big endian hosts, causing stack smashing. This was detected in the test suite either by test failures due to incorrect