php.net |  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 8.1.5.0.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: alex at zend dot com
New email:
PHP Version: OS:

 

 [2000-10-18 05:00 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

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani
 [2001-02-20 07:37 UTC] sniper@php.net
No feedback, considered fixed.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 20 14:01:29 2024 UTC