From: Jakub J. <no...@gi...> - 2024-12-11 09:28:06
|
Branch: refs/heads/master Home: https://github.com/OpenSC/OpenSC Commit: d50b16908697cdb1a4173994aa618d73719fe21c https://github.com/OpenSC/OpenSC/commit/d50b16908697cdb1a4173994aa618d73719fe21c Author: Jakub Jelen <jj...@re...> Date: 2024-12-11 (Wed, 11 Dec 2024) Changed paths: M src/pkcs11/pkcs11-spy.c Log Message: ----------- pkcs11-spy: Avoid crash while spying C_GetInterface() When calling the C_GetInterface(), the spy was trying to change the memory returned by the underlying pkcs11 module. In cases where it was pointing to the readonly/static memory, the application crashed. This changes the C_GetInterface() in a way that it does not return the original memory of underlying pkcs11 module, but local one with our pointers. Signed-off-by: Jakub Jelen <jj...@re...> To unsubscribe from these emails, change your notification settings at https://github.com/OpenSC/OpenSC/settings/notifications |