]> git.ipfire.org Git - thirdparty/libvirt.git/commit
esx: Fix incorrect memory compare size in esxStoragePoolLookupByUUID
authorWang King <king.wang@huawei.com>
Thu, 13 Apr 2017 02:15:45 +0000 (10:15 +0800)
committerCole Robinson <crobinso@redhat.com>
Wed, 10 May 2017 19:33:45 +0000 (15:33 -0400)
commite0af3fd525c4fffa12b91b5d99a2bccbab4ba604
tree7f0bdfffe36c02adf80552a6c04240e7dbe29efe
parent2c59352638eabdf172af65cbc8dea19bdbeeb815
esx: Fix incorrect memory compare size in esxStoragePoolLookupByUUID

Use MD5_DIGEST_SIZE or VIR_UUID_BUFLEN rather than VIR_UUID_STRING_BUFLEN
when compare @uuid with @md5.

(cherry picked from commit 77cc51a4820e27c42636c7072724d5eac73ead53)
src/esx/esx_storage_backend_iscsi.c