php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1913 eval causes a segfault if there is no ending ;
Submitted: 1999-07-28 18:41 UTC Modified: 1999-07-31 12:10 UTC
From: ccunning at math dot ohio-state dot edu Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0b1 OS: Solaris 2.6
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: ccunning at math dot ohio-state dot edu
New email:
PHP Version: OS:

 

 [1999-07-28 18:41 UTC] ccunning at math dot ohio-state dot edu
Crash occurs when the evaluated string does not have a closing ;

<?
eval("\$out = 3");
echo $out;
?>

Error Log:
[Wed Jul 28 17:20:35 1999] [notice] child pid 13254 exit signal Segmentation
Fault (11)

dbx:
In add vars
signal SEGV (no mapping at the fault address) in strlen at 0xef5a4614
0xef5a4614: strlen+0x0080:      ld      [%o1], %o2

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-31 12:10 UTC] zeev at cvs dot php dot net
Fixed in the latest CVS
 [1999-07-31 12:10 UTC] zeev at cvs dot php dot net
Fixed in the latest CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jun 13 19:01:36 2024 UTC