Am Donnerstag, 28. August 2008 15:57:57 schrieb Jan Just Keijser: > this problem does not occur with libp11-0.2.3+engine_pkcs11-0.1.4 . The > two packages seem to be tied together so I am not sure which of the 2 is > causing the invalid 'free'
found and fixed in engine_pkcs11: the cleanup code always assumed the pin is of MAX_PIN_SIZE and tried to clean it before free'ing it. but the set_pin code used strdup(_pin). replaced that with malloc and strncpy and now it works here. if you can compile svn trunk of engine_pkcs11: does it work for you too? Regards, Andreas _______________________________________________ opensc-devel mailing list opensc-devel@lists.opensc-project.org http://www.opensc-project.org/mailman/listinfo/opensc-devel