#48060 [Asn->Csd]: pdo_pgsql - large objects are returned as empty

From: Date: Thu, 23 Apr 2009 13:26:28 +0000
Subject: #48060 [Asn->Csd]: pdo_pgsql - large objects are returned as empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-136159@lists.php.net to get a copy of this message
 ID:               48060
 Updated by:       mbeccati@php.net
 Reported By:      mbeccati@php.net
-Status:           Assigned
+Status:           Closed
 Bug Type:         PDO related
 Operating System: *
 PHP Version:      5.3CVS-2009-04-23 (CVS)
 Assigned To:      mbeccati
 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:
------------------------------------------------------------------------

[2009-04-23 13:17:59] mbeccati@php.net

Description:
------------
Bug isn't always reproducible. It might depend on various factors like
e.g. memory addresses in use (to me it happens when pdo_oci support is
compiled in).

Explanation: the fix for bug #46274 is not properly working under some
circumstances. The get_col function might be returning a (php_stream *)
which is treated like a string by the empty string check, leading to
inconsistent result (empty LOB) and a memory leak.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=48060&edit=1



Thread (3 messages)

« previous php.bugs (#136159) next »