[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



On Mon, Jul 29, 2013 at 05:30:48PM +0100, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange 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.
> 
> Signed-off-by: Daniel P. Berrange <berrange redhat com>
> ---
>  tests/virdbustest.c | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)

Opps, I missed a chunk of the patch. Ignore this & see v2 instead.


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]