[Swan] threading issue located
Paul Wouters
paul at nohats.ca
Fri Mar 8 17:51:34 EET 2013
Hi,
Just a follow up for the record.
Adding pthread mutex locks to programs/pluto/log.c functions:
libreswan_log()
DBG_log()
loglog()
seems to stop crashers from happening in the system's syslog() call.
Clearly this is just a work around and we should look at which functions
called there are not re-entrant and fix those. Additionally, we have
copies of those functions (unfortunately) in lib/libswan, where they
should probably be fixed as well.
Thanks to Philippe for pointing me in the right direction to test this,
Paul
More information about the Swan
mailing list