mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 03:49:02 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=247002
@ -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