Bug #7306 Updated: segfault when binding undefined php variable with a BLOB hostvar

From: Date: Sat, 02 Feb 2002 11:40:19 +0000
Subject: Bug #7306 Updated: segfault when binding undefined php variable with a BLOB hostvar
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-78869@lists.php.net to get a copy of this message
ID: 7306 Updated by: sander@php.net Reported By: alex@zend.com Status: Feedback Bug Type: OCI8 related Operating System: linux-glibc21, OCI 8.1.5.0.0 PHP Version: 4.0 Latest CVS (18/10/2000) New Comment: 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". Previous Comments: ------------------------------------------------------------------------ [2002-01-11 16:48:41] lobbin@php.net Can you reproduce this with latest PHP 4.1.1? ------------------------------------------------------------------------ [2001-05-11 21:42:11] sniper@php.net Why was this duplicate? ------------------------------------------------------------------------ [2000-10-18 05:02:37] alex@zend.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); ?> ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=7306&edit=1

« previous php.dev (#78869) next »