svn rev #22868: trunk/src/lib/crypto/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Thu Oct 8 08:59:34 EDT 2009
http://src.mit.edu/fisheye/changelog/krb5/?cs=22868
Commit By: ghudson
Log Message:
In krb5_c_verify_checksum, avoid the structure copy of *data since we
don't care about data->magic. Squashes a bunch of unimportant
Coverity defects. (May not be the correct long-term solution.)
Changed Files:
U trunk/src/lib/crypto/krb/verify_checksum.c
Modified: trunk/src/lib/crypto/krb/verify_checksum.c
===================================================================
--- trunk/src/lib/crypto/krb/verify_checksum.c 2009-10-08 12:58:56 UTC (rev 22867)
+++ trunk/src/lib/crypto/krb/verify_checksum.c 2009-10-08 12:59:33 UTC (rev 22868)
@@ -59,7 +59,8 @@
krb5_crypto_iov iov[1];
iov[0].flags = KRB5_CRYPTO_TYPE_DATA;
- iov[0].data = *data;
+ iov[0].data.data = data->data;
+ iov[0].data.length = data->length;
return (*keyhash->verify_iov)(key, usage, 0, iov, 1, &indata,
valid);
More information about the cvs-krb5
mailing list