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

Re: (ITS#3932) regex/librewrite concurrency issue

ando@sys-net.it writes:
> <ftp://ftp.openldap.org/incoming/p.m.2005-08-13.regex-reentrant.2.patch>

lutil_regcomp() can return a ldap_pvt_thread_mutex_init() error number.
It should only return regex.h error number, since slapd does use
lutil_regerror() to decode it.

Unfortunately I can find no standard "other error" regex return code.
Could return e.g. -23456 and have lutil_regerror() check for that.