]> git.ipfire.org Git - thirdparty/krb5.git/commit
Check lengths in xdr_krb5_key_data()
authorGreg Hudson <ghudson@mit.edu>
Thu, 10 Apr 2025 00:19:02 +0000 (20:19 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 22 Apr 2025 18:51:10 +0000 (14:51 -0400)
commite195747d2f8a8e1cd1694d768dba9265439228d0
tree9df0c3e5d5cbc22ed35c2fa1a32c659e59b2bcc0
parente2e5f386ccf2bea1fa55ce544f43098ae2b38f89
Check lengths in xdr_krb5_key_data()

Ensure that xdr_krb5_key_data() does not produce an inconsistent
representation if the serialized key_data_contents fields do not match
the corresponding byte array lengths.  (This function is only used by
libkadm5srv to serialize historical key data in per-principal kadmin
data.)

ticket: 9172 (new)
src/lib/kadm5/srv/adb_xdr.c