You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by "Alexander Bergolth (Leo)" <le...@leo.wu-wien.ac.at> on 1999/04/23 19:55:15 UTC

os-aix/4297: wrong regexec is loaded when using DSO

>Number:         4297
>Category:       os-aix
>Synopsis:       wrong regexec is loaded when using DSO
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Apr 23 11:00:07 PDT 1999
>Last-Modified:
>Originator:     leo@leo.wu-wien.ac.at
>Organization:
apache
>Release:        1.3.6
>Environment:
AIX 4.2, tried with xlc and egcs-1.1.2
>Description:
If I configure modules like mod_alias, mod_include, mod_rewrite or mod_setenvif
as shared objects, silenty the wrong regexec (that from libc) is used and thus
regular expressions don't work.

I added some debugging outputs to src/regex/regexec.c and they were only printed
when the module was loaded with --disable-shared=mod_alias
>How-To-Repeat:
I configured with
./configure --enable-module=most --enable-shared=max
and
./configure --enable-module=most --enable-shared=max \
--disable-shared=alias --disable-shared=include --disable-shared=rewrite --disable-shared=setenvif
>Fix:

>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request ]
[from a developer.                                      ]
[Reply only with text; DO NOT SEND ATTACHMENTS!         ]