Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/external/bsd/heimdal/dist/kcm Fix size argument of me...
details: https://anonhg.NetBSD.org/src/rev/6eaa9795fd3a
branches: trunk
changeset: 330887:6eaa9795fd3a
user: joerg <joerg%NetBSD.org@localhost>
date: Thu Jul 24 22:54:10 2014 +0000
description:
Fix size argument of memcmp.
diffstat:
crypto/external/bsd/heimdal/dist/kcm/cache.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 17029c7345e5 -r 6eaa9795fd3a crypto/external/bsd/heimdal/dist/kcm/cache.c
--- a/crypto/external/bsd/heimdal/dist/kcm/cache.c Thu Jul 24 22:37:49 2014 +0000
+++ b/crypto/external/bsd/heimdal/dist/kcm/cache.c Thu Jul 24 22:54:10 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cache.c,v 1.1.1.2 2014/04/24 12:45:27 pettai Exp $ */
+/* $NetBSD: cache.c,v 1.2 2014/07/24 22:54:10 joerg Exp $ */
/*
* Copyright (c) 2005, PADL Software Pty Ltd.
@@ -104,7 +104,7 @@
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(*uuid)) == 0) {
ret = 0;
break;
}
Home |
Main Index |
Thread Index |
Old Index