|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27033 calling preg_match at _very_ specific points, will cause apache to crash
Submitted: 2004-01-24 18:43 UTC Modified: 2004-01-31 23:15 UTC
From: ask at eternal-newbie dot dk Assigned:
Status: No Feedback Package: PCRE related
PHP Version: 4.3.4 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ask at eternal-newbie dot dk
New email:
PHP Version: OS:


 [2004-01-24 18:43 UTC] ask at eternal-newbie dot dk
in my functions.php ( i got a class called user with a function called in_group(). This function calls a global function called isint();, this function uses preg_match. If the in_group() function is called from withith the global makeoutput function or from a function called from without the makeoutput function. the the call in in_group() to isint() will cause the apache child to crash. i cannot get a gdb file, since it's the child and not the parant server which is crashing. However the log states clearly that it returns a segmentation fault. 

I might need to note that in_group is being called several times before makeoutput() is started and that works fine.

Reproduce code:

Expected result:
that apache/php didn't crash.

Actual result:
see description.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-31 23:15 UTC]
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 22:01:26 2024 UTC