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
 [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-2019 The PHP Group
All rights reserved.
Last updated: Thu Dec 12 10:01:24 2019 UTC