|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7305 segfault when binding undefined php variable with a BLOB hostvar
Submitted: 2000-10-18 05:00 UTC Modified: 2001-02-20 07:37 UTC
From: alex at zend dot com Assigned:
Status: Closed Package: OCI8 related
PHP Version: 4.0 Latest CVS (18/10/2000) OS: linux-glibc21, OCI
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
8 + 32 = ?
Subscribe to this entry?

 [2000-10-18 05:00 UTC] alex at zend dot com
        $db = @ocilogon("scott", "tiger", "ZTST");
        $statement = ociparse($db, "CREATE TABLE foo (blob_field BLOB)");

        $query = "INSERT INTO foo (blob_field) " .
                         "VALUES (EMPTY_BLOB()) " .
                         "RETURNING blob_field into :blob";
        $statement = ociparse($db, $query);
        ocibindbyname($statement, ':blob', &$undefined, -1, OCI_B_BLOB);
        $result = ociexecute($statement);


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-07 19:53 UTC]
Does this happen with latest CVS now?

 [2001-02-20 07:37 UTC]
No feedback, considered fixed.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Mar 28 22:03:42 2023 UTC