[krbdev.mit.edu #9067] git commit
Greg Hudson via RT
rt at krbdev.mit.edu
Tue Nov 15 11:32:09 EST 2022
<URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9067 >
Fix PKCS11 module path search
Commit c5c11839e02c7993eb78f2c94c75c10cf93f2195 switched the loading
of the PKCS#11 module from dlopen() to krb5int_open_plugin(). Because
krb5int_open_plugin() includes a stat() test, this change has the
unintended consequence of requiring the module name to be an absolute
or relative path to the library, not a filename within the dynamic
linker search path.
Within krb5int_open_plugin(), only stat() the filename on the
platforms which will use the file type.
[ghudson at mit.edu: adjusted conditionals to call stat() on Windows;
rewrote commit message]
(cherry picked from commit e134d9a6b6332bd085093e9075c949ece784fcd0)
https://github.com/krb5/krb5/commit/3401546ecd8abc0d51347c329c8db7933a620d0d
Author: sashan <anedvedicky at gmail.com>
Committer: Greg Hudson <ghudson at mit.edu>
Commit: 3401546ecd8abc0d51347c329c8db7933a620d0d
Branch: krb5-1.20
src/util/support/plugins.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
More information about the krb5-bugs
mailing list