Import change 6d783560e4aad1e680097d11e89755647a5aba87 from upstream
heimdal: fix sizeof(uuid) Found by: clang ToT Reviewed by: stas
This commit is contained in:
parent
4faa1dea0b
commit
d2a99d8189
@ -102,7 +102,7 @@ kcm_ccache_resolve_by_uuid(krb5_context context,
|
||||
for (p = ccache_head; p != NULL; p = p->next) {
|
||||
if ((p->flags & KCM_FLAGS_VALID) == 0)
|
||||
continue;
|
||||
if (memcmp(p->uuid, uuid, sizeof(uuid)) == 0) {
|
||||
if (memcmp(p->uuid, uuid, sizeof(kcmuuid_t)) == 0) {
|
||||
ret = 0;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user