Don't segfault if a preauth plugin module fails to load
authorKevin Coffman <kwc@citi.umich.edu>
Tue, 10 Oct 2006 20:52:34 +0000 (20:52 +0000)
committerKevin Coffman <kwc@citi.umich.edu>
Tue, 10 Oct 2006 20:52:34 +0000 (20:52 +0000)
commit22e3a79c4a67cfc3e4d7eb628ce84aa0497a061e
tree35385ec43ada6445653bd65b1bcc7fe350885577
parent8cf95742d1527bcfd585cb8d1d565f3ef451b261
Don't segfault if a preauth plugin module fails to load

Move the zeroing of the errinfo struct before the call to
krb5int_open_plugin_dirs() to prevent segfault in the case
where a plugin fails to load.  (For example if there are
unresolved symbols.)

ticket: new

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18671 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/kdc_preauth.c