]> git.proxmox.com Git - mirror_qemu.git/commit
smbios: fix uuid copy
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Wed, 28 Sep 2016 14:38:10 +0000 (18:38 +0400)
committerFam Zheng <famz@redhat.com>
Thu, 29 Sep 2016 03:43:22 +0000 (11:43 +0800)
commit664ee76891adce2b1df42d714f4c158a1df4220b
treeaf6d1d6c57c80bcf1bc108042b2e5f039b3543ac
parent84d0984dfe336f24109a6792d06aad0e9ae5e0a6
smbios: fix uuid copy

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 <marcandre.lureau@redhat.com>
Message-Id: <20160928143810.25558-1-marcandre.lureau@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
[Warp the long error message line in commit message. - Fam]
Signed-off-by: Fam Zheng <famz@redhat.com>
hw/smbios/smbios.c