Re: [libvirt] [PATCH] esx: Fix incorrect memory compare size in esxStoragePoolLookupByUUID

2017-04-13 Thread John Ferlan
On 04/12/2017 10:15 PM, Wang King wrote: > Use MD5_DIGEST_SIZE or VIR_UUID_BUFLEN rather than VIR_UUID_STRING_BUFLEN > when compare @uuid with @md5. > --- > src/esx/esx_storage_backend_iscsi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > ACK (and will push shortly) John -- libvi

[libvirt] [PATCH] esx: Fix incorrect memory compare size in esxStoragePoolLookupByUUID

2017-04-12 Thread Wang King
Use MD5_DIGEST_SIZE or VIR_UUID_BUFLEN rather than VIR_UUID_STRING_BUFLEN when compare @uuid with @md5. --- src/esx/esx_storage_backend_iscsi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/esx/esx_storage_backend_iscsi.c b/src/esx/esx_storage_backend_iscsi.c index 96b47