projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62ccc28
)
Make sure unfilled data in krb5_key_data is zero in decode_princ_contents
author
Paul Park
<pjpark@mit.edu>
Tue, 8 Aug 1995 21:59:35 +0000
(21:59 +0000)
committer
Paul Park
<pjpark@mit.edu>
Tue, 8 Aug 1995 21:59:35 +0000
(21:59 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6460
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/kdb/kdb_xdr.c
patch
|
blob
|
history
diff --git
a/src/lib/kdb/kdb_xdr.c
b/src/lib/kdb/kdb_xdr.c
index 8aadb2b967cf061cf34a1c65a530c7f4c1d3d864..ede37bf95b514bfaccb643e6abad3b3e23820c58 100644
(file)
--- a/
src/lib/kdb/kdb_xdr.c
+++ b/
src/lib/kdb/kdb_xdr.c
@@
-530,6
+530,7
@@
krb5_decode_princ_contents(context, content, entry)
goto error_out;
}
key_data = entry->key_data + i;
+ memset(key_data, 0, sizeof(krb5_key_data));
krb5_kdb_decode_int16(nextloc, key_data->key_data_ver);
nextloc += 2;
krb5_kdb_decode_int16(nextloc, key_data->key_data_kvno);