tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dlopen() and libpthread



On Mon, Oct 22, 2012 at 07:42:50AM +0000, Emmanuel Dreyfus wrote:
> On Sun, Oct 21, 2012 at 11:34:59PM +0200, Joerg Sonnenberger wrote:
> > Try changing src/pkcs11/pkcs11-global.c, line 47 to use sizeof(*m) to
> > not overflow the buffer as start...
> 
> Right, that fixes one problem but we are not done yet.
> 
> Now ssh-agent correctly dlopen /usr/pkg/lib/opensc-pkcs11.so, which in
> turns dlopen libopensc.so (no problem), which then attemps to dlopen
> libpscslite.so and here we break again because it is linked with -lpthread

Sounds like a completely messed up design... Seriously, something's
seriously wrong with requiring a PAM module to require threads....

Joerg


Home | Main Index | Thread Index | Old Index