Bug #14702: segfault in OCIFetchStatement with 1 or 2 chars CLOB

From: Date: Wed, 26 Dec 2001 18:28:59 +0000
Subject: Bug #14702: segfault in OCIFetchStatement with 1 or 2 chars CLOB
Groups: php.dev 
Request: Send a blank email to php-dev+get-75051@lists.php.net to get a copy of this message
From: ora@mlkj.net Operating system: Linux 2.4 PHP version: 4.1.0 PHP Bug Type: OCI8 related Bug description: segfault in OCIFetchStatement with 1 or 2 chars CLOB php segfault with the following code : $stmt = OCIParse($conn,"select myclob from I18N"); OCIExecute($stmt); OCIFetchStatement($stmt,$results); when myclob contains at least one row with one or two characters. work fine when clob length = 0 or >= 3. oracle and php use utf-8. php : 4.1.0 and 4.0.6 on linux x86 oracle : 8.1.7.2 on sparc64 -- Edit bug report at: http://bugs.php.net/?id=14702&edit=1

« previous php.dev (#75051) next »