From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.0.6
PHP Bug Type:     *Regular Expressions
Bug description:  'Invalid range end' with eregi_replace() under certain conditions.

There's an annoying bug with eregi_replace() which sometimes send Invalid
Range End.
This is reproducible with Linux RH7.2 and PHP 4.0.6 compiled
'--with-regex=system'.

I couldn't find this bug on bugs.php.net. This might be a known bug but,
please, don't close it, I would really like to know on which systems the
problem occurs exacly so as to add workaround on a Webmail client FAQ I
wrote: http://nocc.sf.net/

It happens on this system (which I'm not the Webmaster of):
http://www.okkaskole.no/~brr/test.php

I couldn't reproduce the problem on Win2k+Apache 2.0.28+PHP 4.0.6 as CGI.

Some other reports:
http://www.webgenerator-x.com/support_forum.php3?op=viewtopictree&topic_id=55
http://www.squirrelmail.org/wiki/RedHatOutdatedGlibc

I will attach testcase, which is long but the user on the above system
couldn't reduce testcase. And I cannot reduce it myself as I don't have
the bug on my system.
The regexp might seem to be complicated but it runs very fine  on many Web
servers (NetBSD w/ Apache, Windows w/ Xitami, etc.) but some servers under
certain conditions which makes it hard to reproduce.
Fortunately, this time, it seems that I have a 100% reproducible
testcase.


-- 
Edit bug report at http://bugs.php.net/?id=15486&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=15486&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=15486&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=15486&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=15486&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15486&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=15486&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=15486&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=15486&r=submittedtwice

Reply via email to