php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9975 perse error causes core dump
Submitted: 2001-03-25 03:35 UTC Modified: 2001-03-26 03:34 UTC
From: jr at hyphen dot org Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0.4pl1 OS: solaris 2.7
Private report: No CVE-ID: None
 [2001-03-25 03:35 UTC] jr at hyphen dot org
the following code will cause "php -l" to core dump:

strtoupper(;

yes, there should be a closing parenthesis.  but i would think that the parser should see that and complain approriately.  in fact, i thought that i've seen it do it before.  i'm guessing that any function can cause this.  strtoupper() was just a random test.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-26 03:34 UTC] sniper@php.net
I can't reproduce this with the latest CVS.
Please try the latest CVS snapshot from http://snaps.php.net/
Reopen this bug report if problem still persist when using the snapshot.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 19:01:28 2024 UTC