[libvirt] [PATCH] Always free network and graphics cookies

Eric Blake eblake at redhat.com
Mon Sep 16 14:26:29 UTC 2013


On 09/16/2013 07:27 AM, Ján Tomko wrote:
> qemuMigrationEatCookie has flags to control if these should
> be parsed, but it does not fill mig->flags. These cookies might
> get leaked if these flags are not set by qemuMigrationBakeCookie.
> 
> 42 (32 direct, 10 indirect) bytes in 1 blocks are definitely lost in
> loss record 361 of 662
> ==123== by 0x1BA33FCA: qemuMigrationEatCookie (qemu_migration.c:678)
> ==123== by 0x1BA34A1E: qemuMigrationRun (qemu_migration.c:3108)
> ==123== by 0x1BA3622B: doNativeMigrate (qemu_migration.c:3343)
> ==123== by 0x1BA3B408: qemuMigrationPerform (qemu_migration.c:4138)
> ---
>  src/qemu/qemu_migration.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130916/7f89ac6f/attachment-0001.sig>


More information about the libvir-list mailing list