php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7306 segfault when binding undefined php variable with a BLOB hostvar
Submitted: 2000-10-18 05:02 UTC Modified: 2002-02-02 06:40 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: alex at zend dot com Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.0 Latest CVS (18/10/2000) OS: linux-glibc21, OCI 8.1.5.0.0
Private report: No CVE-ID: None
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:
MUST BE VALID
Solve the problem:
24 + 1 = ?
Subscribe to this entry?

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

        $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);
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-11 21:42 UTC] sniper@php.net
Why was this duplicate?

 [2002-01-11 16:48 UTC] lobbin@php.net
Can you reproduce this with latest PHP 4.1.1?
 [2002-02-02 06:40 UTC] sander@php.net
No feedback was provided for this bug, so it is being suspended.
If you are able to provide the information that was requested,
please do so and change the status of the bug back to "Open".
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 10:01:28 2025 UTC