Constructing PDOStatment succeeds but accessing its members crashes apache
| Bug #35135 | Constructing PDOStatment succeeds but accessing its members crashes apache | ||||
|---|---|---|---|---|---|
| Submitted: | 2005-11-07 08:00 UTC | Modified: | 2005-11-07 18:09 UTC | ||
| From: | phpbug20051107 at spam dot dusty dot org | Assigned: | wez (profile) | ||
| Status: | Closed | Package: | PDO related | ||
| PHP Version: | 5CVS-2005-11-07 (snap) | OS: | windows xp | ||
| Private report: | No | CVE-ID: | None | ||
[2005-11-07 08:00 UTC] phpbug20051107 at spam dot dusty dot org
Description: ------------ If a PDOStatement is directly constructed (new PDOStatment()) and then any member of that instance accessed, Apache2 will crash. Reproduce code: --------------- <?php $s = new PDOStatement(); $s->errorInfo(); // <-- apache crashes ?> Expected result: ---------------- An error, warning, or notice generated when PDOStatment is constructed directly. Actual result: -------------- Apache crashes: Faulting application Apache.exe, version 2.0.54.0, faulting module php_pdo.dll, version 5.1.0.0, fault address 0x00005508.
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-11-07 16:04 UTC] phpbug20051107 at spam dot dusty dot org
[2005-11-07 16:08 UTC] sniper@php.net
[2005-11-07 18:09 UTC] iliaa@php.net