Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-23 Thread Ludovic Rousseau
2011/6/22 Ludovic Rousseau : > 2011/6/21 Martin Paljak : >> On Tue, Jun 21, 2011 at 19:23, Ludovic Rousseau >> wrote: >> >>> One option is to configure pkcs11-spy to NOT export symbols except >>> C_GetFunctionList. It will try and let you know. >> You mean this: >> >> https://github.com/martinpalj

Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Ludovic Rousseau
2011/6/21 Martin Paljak : > On Tue, Jun 21, 2011 at 19:23, Ludovic Rousseau > wrote: > >> One option is to configure pkcs11-spy to NOT export symbols except >> C_GetFunctionList. It will try and let you know. > You mean this: > > https://github.com/martinpaljak/OpenSC/commit/5a2306967175ea96eaf9d0

Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Martin Paljak
On Tue, Jun 21, 2011 at 19:23, Ludovic Rousseau wrote: > One option is to configure pkcs11-spy to NOT export symbols except > C_GetFunctionList. It will try and let you know. You mean this: https://github.com/martinpaljak/OpenSC/commit/5a2306967175ea96eaf9d058224fb9c394791f74 That is anyway the

Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Ludovic Rousseau
2011/6/21 Douglas E. Engert : > > > On 6/21/2011 9:56 AM, Ludovic Rousseau wrote: >> 2011/6/21 Ludovic Rousseau: >>> Hello, >>> >>> I try to debug a PKCS#11 program using pkcs11-spy. >>> The problem is that for an unknown reason the C_Initialize() from the >>> spy is calling istelf instead of the C

Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Douglas E. Engert
On 6/21/2011 9:56 AM, Ludovic Rousseau wrote: > 2011/6/21 Ludovic Rousseau: >> Hello, >> >> I try to debug a PKCS#11 program using pkcs11-spy. >> The problem is that for an unknown reason the C_Initialize() from the >> spy is calling istelf instead of the C_Initialize from OpenSC. >> >> After som

Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Douglas E. Engert
On 6/21/2011 8:29 AM, Ludovic Rousseau wrote: > Hello, > > I try to debug a PKCS#11 program using pkcs11-spy. > The problem is that for an unknown reason the C_Initialize() from the > spy is calling istelf instead of the C_Initialize from OpenSC. > > After some 261418 calls the program crashes be

Re: [opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Ludovic Rousseau
2011/6/21 Ludovic Rousseau : > Hello, > > I try to debug a PKCS#11 program using pkcs11-spy. > The problem is that for an unknown reason the C_Initialize() from the > spy is calling istelf instead of the C_Initialize from OpenSC. > > After some 261418 calls the program crashes because of a stack >

[opensc-devel] Infinite recursion on C_Initialize() with pkcs11-spy

2011-06-21 Thread Ludovic Rousseau
Hello, I try to debug a PKCS#11 program using pkcs11-spy. The problem is that for an unknown reason the C_Initialize() from the spy is calling istelf instead of the C_Initialize from OpenSC. After some 261418 calls the program crashes because of a stack exhaustion of something similar. With anot