git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9e5da9
)
KCM wrong size memcmp
author
Nicolas Williams
<nico@twosigma.com>
Tue, 31 Jan 2017 17:32:35 +0000
(11:32 -0600)
committer
Viktor Dukhovni
<viktor1ghub@dukhovni.org>
Mon, 13 Mar 2017 22:39:41 +0000
(18:39 -0400)
Originally by Christos Zoulas.
kcm/cache.c
patch
|
blob
|
history
diff --git
a/kcm/cache.c
b/kcm/cache.c
index 25b84ab385a22e20cd18b654b5c61452e7e7380c..0b6cdf526bf4b1845cb6c43b3a8a545460c547d7 100644
(file)
--- a/
kcm/cache.c
+++ b/
kcm/cache.c
@@
-105,7
+105,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(
kcmuuid_t
)) == 0) {
+ if (memcmp(p->uuid, uuid, sizeof(
*uuid
)) == 0) {
ret = 0;
break;
}