|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #48060 pdo_pgsql - large objects are returned as empty
Submitted: 2009-04-23 13:17 UTC Modified: 2009-04-23 13:26 UTC
From: Assigned: mbeccati (profile)
Status: Closed Package: PDO related
PHP Version: 5.3CVS-2009-04-23 (CVS) OS: *
Private report: No CVE-ID: None
 [2009-04-23 13:17 UTC]
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-04-23 13:26 UTC]
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
Thank you for the report, and for helping us make PHP better.

 [2009-09-03 22:53 UTC]
Automatic comment from SVN on behalf of mbeccati
Log: MFH
- Fixed bug #48060 (pdo_pgsql - large objects are returned as empty)
# Backported from 5.3.0, per gripe from Konstantin Ryabitsev
# Permission granted by Ilia
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 13 10:01:27 2024 UTC