summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorMitchell Berger <mitchb@mit.edu>2001-10-16 10:12:31 +0000
committerMitchell Berger <mitchb@mit.edu>2001-10-16 10:12:31 +0000
commitb524f1a4817dadbf57d27b54621278a84afc830a (patch)
tree0d3bf4c7132d964f53b3c981437b1463dbad6f52 /src/util
parent67c45851e4ac7eda5a797353495534f308d1a8c6 (diff)
downloadkrb5-b524f1a4817dadbf57d27b54621278a84afc830a.tar.gz
krb5-b524f1a4817dadbf57d27b54621278a84afc830a.tar.xz
krb5-b524f1a4817dadbf57d27b54621278a84afc830a.zip
* svr_principal.c (add_to_history): If the policy a principal uses has
been changed to hold a lesser number of history entries than it did before, extract the correct number and value of old keys from the history array into a newly allocated array of the proper size. Failing to do this made kadmind vulnerable to a crash upon changing such a principal's password. Original patch written by Matt Crawford, with a few changes. [Fixes krb5-admin/929] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13813 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util')
0 files changed, 0 insertions, 0 deletions