|
From: Frank M. <no...@gi...> - 2025-10-17 08:42:07
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: bee5ce19acb03e6c1c1dd38258ae16e8d5c4ee85 https://github.com/OpenSC/OpenSC/commit/bee5ce19acb03e6c1c1dd38258ae16e8d5c4ee85 Author: Frank Morgner <fra...@gm...> Date: 2025-10-17 (Fri, 17 Oct 2025) Changed paths: M src/common/libscdl.c Log Message: ----------- Consistently load shared libraries with RTL_LOCAL Linux and macOS defaults are differing on this otherwise Commit: 60ded2bbf90f2ddb638cc481ac714829a2445af3 https://github.com/OpenSC/OpenSC/commit/60ded2bbf90f2ddb638cc481ac714829a2445af3 Author: Frank Morgner <fra...@gm...> Date: 2025-10-17 (Fri, 17 Oct 2025) Changed paths: M src/common/libscdl.c Log Message: ----------- Use dlopen with RTLD_DEEPBIND if possible This prefers the loaded module's implementation of some function over the same function that may be registered globally. In PKCS#11, this problem may occur, for example, if the application loads PKCS#11 spy with RTLD_GLOBAL, which then loads the spied-on-PKCS#11-module. With RTLD_DEEPBIND, the spied-on-module now calls its own implementation of, for example, C_Initialize rather than the globally registered implementation of C_Initialize from PKCS#11 spy. fixes #2875 Commit: cd8a300428ff3a94960f4ca3ae7b9245db16a93f https://github.com/OpenSC/OpenSC/commit/cd8a300428ff3a94960f4ca3ae7b9245db16a93f Author: Frank Morgner <fra...@gm...> Date: 2025-10-17 (Fri, 17 Oct 2025) Changed paths: M src/common/libscdl.c Log Message: ----------- Merge pull request #3487 from frankmorgner/dlopen fixed overwriting global module functions, e.g. C_Initialize Compare: https://github.com/OpenSC/OpenSC/compare/495114b45e33...cd8a300428ff To unsubscribe from these emails, change your notification settings at https://github.com/OpenSC/OpenSC/settings/notifications |