[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4099) test008 throws assertion

richton@nbcs.rutgers.edu wrote:
>> I'm wondering if a good number of the segv are issues with libwrap.
>> (slapd.1.logs include "DENIED from unknown (", which is a total
>> bogon given our hosts.allow.) I might try rerunning with that removed...
> Disabled libwrap, HEAD is happier. Unsure if this is libwrap local issue,
> libwrap upstream issue, or OpenLDAP libwrap usage issue...

Yes, apparently libwrap uses strtok() which is not thread-safe. I'm not 
sure that wrapping the calls with a mutex will fix the re-entrancy 
problems, it would be better if libwrap used something else (like strtok_r).

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc
  OpenLDAP Core Team            http://www.openldap.org/project/