Skip Menu |
 

From: ghudson@mit.edu
Subject: SVN Commit

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/704e18e821c217c65f3c1ae2103d7d5e9b9e78f7
Commit By: ghudson
Revision: 22369
Changed Files:
U trunk/src/kdc/kdc_preauth.c
From: tlyu@mit.edu
Subject: SVN Commit

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