php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34802 new PDORow crashes Apache
Submitted: 2005-10-10 07:57 UTC Modified: 2005-10-10 17:13 UTC
From: stochnagara at hotmail dot com Assigned:
Status: Closed Package: PDO related
PHP Version: 5CVS-2005-10-10 (snap) OS: windows xp
Private report: No CVE-ID: None
 [2005-10-10 07:57 UTC] stochnagara at hotmail dot com
Description:
------------
Creating a new PDORow object crashes my Apache. The error log contains the correct error message for this case:

PHP Fatal error:  PDORow::__construct() [<a href='function.--construct'>function.--construct</a>]: You should not create a PDOStatement manually in ...\pdo.php on line 2

But crashing Apache is not the correct behaviour.



Reproduce code:
---------------
<?
$q= new PDORow();
?>

Expected result:
----------------
PHP Fatal error:  PDORow::__construct() [<a href='function.--construct'>function.--construct</a>]: You should not create a PDOStatement manually in ...\pdo.php on line 2


Actual result:
--------------
Apache crashes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-10 16:31 UTC] iliaa@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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 05:01:29 2024 UTC