Import change 6d783560e4aad1e680097d11e89755647a5aba87 from upstream

heimdal:

  fix sizeof(uuid)

Found by:	clang ToT
Reviewed by:	stas
This commit is contained in:
Dimitry Andric 2013-02-19 17:38:18 +00:00
parent 4faa1dea0b
commit d2a99d8189

View File

@ -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;
}