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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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: Sun Jun 16 16:01:28 2024 UTC