Module Name:    src
Committed By:   joerg
Date:           Thu Jul 24 22:54:10 UTC 2014

Modified Files:
        src/crypto/external/bsd/heimdal/dist/kcm: cache.c

Log Message:
Fix size argument of memcmp.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/crypto/external/bsd/heimdal/dist/kcm/cache.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/crypto/external/bsd/heimdal/dist/kcm/cache.c
diff -u src/crypto/external/bsd/heimdal/dist/kcm/cache.c:1.1.1.2 src/crypto/external/bsd/heimdal/dist/kcm/cache.c:1.2
--- src/crypto/external/bsd/heimdal/dist/kcm/cache.c:1.1.1.2	Thu Apr 24 12:45:27 2014
+++ src/crypto/external/bsd/heimdal/dist/kcm/cache.c	Thu Jul 24 22:54:10 2014
@@ -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 @@ kcm_ccache_resolve_by_uuid(krb5_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(*uuid)) == 0) {
 	    ret = 0;
 	    break;
 	}

Reply via email to