]> 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)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 13 Apr 2017 12:14:54 +0000 (08:14 -0400)
commit77cc51a4820e27c42636c7072724d5eac73ead53
tree98954e0bc94d9b121d82aef7d38b8c544dfc9dec
parent05b3846caf9dc4b865ce071135ebe0a6ca0d8b40
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.
src/esx/esx_storage_backend_iscsi.c