php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #263 ereg() core dump
Submitted: 1998-04-11 00:10 UTC Modified: 1998-04-18 10:12 UTC
From: torben at coastnet dot com Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0 Latest CVS OS: Linux 2.0.33 (Slackware)
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: torben at coastnet dot com
New email:
PHP Version: OS:

 

 [1998-04-11 00:10 UTC] torben at coastnet dot com
This will reliably dump core.

<?php ereg( "[^0-9]\\\\{1\\\\}", "5" )?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-04-18 10:12 UTC] zeev
This has to do with the regex implementation, not PHP.
The regex library that comes with PHP doesn't crash
from that regex (even though it reports it's a bad regex)

A backtrace of the core would be a good idea, though.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC