php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10246 Lint option WORKS, but still dumps core
Submitted: 2001-04-09 12:09 UTC Modified: 2001-06-03 18:15 UTC
From: mmontero at mail dot communityconnect dot com Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0 Latest CVS (09/04/2001) OS: RedHat Linux 7.0
Private report: No CVE-ID: None
 [2001-04-09 12:09 UTC] mmontero at mail dot communityconnect dot com
Am using the latest CVS version, configured as follows:

"./configure" \
"--with-config-file-path=/mnt/raid/RAID00_5/opt/common/linux/php/config" \
"--with-mysql=/opt/db/mysql/product/3.23.29a-gamma/" \
"--with-oracle=/opt/db/oracle/product/current/" \
"--with-mcrypt=/usr/local/lib/" \
"--prefix=/web/webny/adm/php" \
"--with-oci8=/opt/db/oracle/product/current/" \
"--with-curl=/usr/local/lib/" \
"--disable-posix   " \
"$@"

I am executing the resultant executable like this:

./php -d display_errors=1 -d display_startup_errors=1 -d output_buffering=0 -q -l blah.html

blah.html looks like this:

<?
        echo "adfsdf"adfsdaf" ;
?>

I get this output:

<br>
<b>Parse error</b>:  parse error, expecting `','' or `';'' in <b>blah.html</b> on line <b>2</b><br>
Segmentation fault (core dumped)



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-09 12:12 UTC] mmontero at mail dot communityconnect dot com
I have also run this example as follows (eliminating the complexity of any switches):

./php blah.html

I get this output:

X-Powered-By: PHP/4.0.6-dev
Content-type: text/html

<br>
<b>Parse error</b>:  parse error, expecting `','' or `';'' in <b>blah.html</b> on line <b>2</b><br>
Segmentation fault (core dumped)
 [2001-05-21 19:51 UTC] jmoore@php.net
Can you try latest CVS for me please, I dont get the core dump it works fine for me.

- James
 [2001-06-03 18:15 UTC] sniper@php.net
I don't get any segfaults either. Considered fixed.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Jul 14 17:01:28 2024 UTC