php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37417 PHP crashes when trying to load()/read() CLOB
Submitted: 2006-05-12 09:43 UTC Modified: 2006-05-12 09:53 UTC
From: ignacio at esviza dot com Assigned:
Status: Not a bug Package: OCI8 related
PHP Version: 5.1.4 OS: WinXP
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ignacio at esviza dot com
New email:
PHP Version: OS:

 

 [2006-05-12 09:43 UTC] ignacio at esviza dot com
Description:
------------
PHP crashes giving "PHP has encountered an Access Violation at 015994A9" when trying to load() or read() an OCI8 CLOB column.

Using:
- OS: Windows XP Professional w/SP2
- PHP: 5.1.4. (ISAPI Server API)
- Server software: Microsoft-IIS/5.1 (bundled with WinXP)
- Data Server: Oracle 8i w/10g instant client


Reproduce code:
---------------
/* assume a table with a CLOBCOLUMN with data */

$con  = ociplogon("user","pass","etc");
$sql  = 'SELECT * FROM tablewithclob WHERE id=1';
$stmt = ociparse($con,$sql);

ociexecute($stmt);
ocifetchinto($stmt, $row, OCI_ASSOC+OCI_RETURN_NULLS );

echo $row['CLOBCOLUMN']->load();

// also crashes with...
echo $row['CLOBCOLUMN']->read(100);


Expected result:
----------------
=> Hello World

Actual result:
--------------
PHP crashes giving "PHP has encountered an Access Violation at 015994A9"

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-05-12 09:53 UTC] tony2001@php.net
Duplicate of #37292.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri May 09 12:01:28 2025 UTC