]> git.ipfire.org Git - thirdparty/krb5.git/commit
Fix kdcpreauth counting bug 293/head
authorGreg Hudson <ghudson@mit.edu>
Thu, 9 Jul 2015 05:00:40 +0000 (01:00 -0400)
committerGreg Hudson <ghudson@mit.edu>
Thu, 9 Jul 2015 18:37:54 +0000 (14:37 -0400)
commit2c3c44ce0555110a919aff0902d143b7f00e26ef
tree629d169d8af40891c58ac8bd75ccb5f4212956a1
parent971fae8285427b27dfd8c9a535a18eb588ee0689
Fix kdcpreauth counting bug

In kdc_preauth.c, commit be20a5f5cee8d6c4072d1b81712520dbf9f6eefd made
load_preauth_plugins() handle negative preauth type numbers.
get_plugin_vtables() also needs to handle negative preauth type
numbers, or it can return the wrong count and load_preauth_plugins()
can overflow the table.

ticket: 8200
src/kdc/kdc_preauth.c