pull up r22369 from trunk ------------------------------------------------------------------------ r22369 | ghudson | 2009-05-24 17:53:51 +0200 (Sun, 24 May 2009) | 11 lines ticket: 6496 subject: Fix vector initialization error in KDC preauth code target_version: 1.7 tags: pullup In the KDC, get_preauth_hint_list had two bugs initializing the preauth array. It was allocating 21 extra entries instead of two due to a typo (harmless), and it was only zeroing up through one extra entry (harmful). Adjust the code to use calloc to avoid further disagreements of this nature. https://github.com/krb5/krb5/commit/1cb0f0b803cfffa7a9130a073dc810352b984267 Commit By: tlyu Revision: 22377 Changed Files: U branches/krb5-1-7/src/kdc/kdc_preauth.c