[Libvirt-cim] [PATCH] Fix memory corruption in Virt_VSMigrationService

Dan Smith danms at us.ibm.com
Mon Aug 4 14:02:39 UTC 2008


JF> According to uuid_unparse(3), the out param needs to accommodate
JF> 37 bytes.  This patch expands the uuid field of migration_job
JF> structure to 37 bytes.

Good call.  However, in other places, we use the libvirt-defined
symbol VIR_UUID_STRING_BUFLEN for this, which I think it probably more
appropriate.

In checking on this, I found another spot with the same incorrect
magic number.  I'll cook up a patch to fix both.

Thanks!

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms at us.ibm.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvirt-cim/attachments/20080804/69667973/attachment.sig>


More information about the Libvirt-cim mailing list