Re: [Qemu-devel] [PATCH] smbios: fix uuid copy

2016-09-28 Thread Fam Zheng
On Wed, 09/28 17:17, Laszlo Ersek wrote: > On 09/28/16 16:38, Marc-André Lureau wrote: > > Since 9c5ce8db, the uuid is wrongly copied, as QemuUUID 'in' argument is > > already a pointer. > > > > Fixes ASAN complaining: > > hw/smbios/smbios.c:489:5: runtime error: load of address 0x7fffcdb91b00 >

Re: [Qemu-devel] [PATCH] smbios: fix uuid copy

2016-09-28 Thread Laszlo Ersek
On 09/28/16 16:38, Marc-André Lureau wrote: > Since 9c5ce8db, the uuid is wrongly copied, as QemuUUID 'in' argument is > already a pointer. > > Fixes ASAN complaining: > hw/smbios/smbios.c:489:5: runtime error: load of address 0x7fffcdb91b00 with > insufficient space for an object of type '__int1

[Qemu-devel] [PATCH] smbios: fix uuid copy

2016-09-28 Thread Marc-André Lureau
Since 9c5ce8db, the uuid is wrongly copied, as QemuUUID 'in' argument is already a pointer. Fixes ASAN complaining: hw/smbios/smbios.c:489:5: runtime error: load of address 0x7fffcdb91b00 with insufficient space for an object of type '__int128 unsigned' Signed-off-by: Marc-André Lureau --- hw/