php crash when calling non exists method (extending PDO)

Bug #35543 php crash when calling non exists method (extending PDO)
Submitted: 2005-12-04 12:27 UTC Modified: 2005-12-04 12:41 UTC
From: avnil at icomsw dot com Assigned:
Status: Closed Package: PDO related
PHP Version: 5.1.1 OS: windows xp
Private report: No CVE-ID: None

 [2005-12-04 12:27 UTC] avnil at icomsw dot com

Description:
------------
php crash when calling non exists method (extending PDO class)

Reproduce code:
---------------
<?
class a extends PDO{
	function a(){
		$this->s();
	}
}
$x = new a();
?>


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports

 [2005-12-04 12:41 UTC] tony2001@php.net

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.