#36382 [Opn->Csd]: getColumnMeta() crashes
| From: | derick@php.net | Date: | Mon, 13 Feb 2006 15:55:15 +0000 |
| Subject: | #36382 [Opn->Csd]: getColumnMeta() crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-93220@lists.php.net to get a copy of this message | ||
ID: 36382
Updated by: derick@php.net
Reported By: derick@php.net
-Status: Open
+Status: Closed
Bug Type: PDO related
Operating System: linux
PHP Version: 5.1.2
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2006-02-13 16:50:52] derick@php.net
Description:
------------
PDO/PGSql segfaults with "getColumnMeta".
Reproduce code:
---------------
script:
<?php
$db = new pdo( 'pgsql:dbname=ezc' );
$stmt = $db->query( 'SELECT id AS other FROM query_test' );
$stmt->getColumnMeta( 0 );
?>
data (database name is "ezc") is here:
http://files.derickrethans.nl/ezc.dump.txt
Actual result:
--------------
Segfault, backtrace is @ http://files.derickrethans.nl/ezc.valgrind.txt
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36382&edit=1