php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4337 Informix ifx_get_blob() causes SIGSEGV in Apache 1.3.9
Submitted: 2000-05-05 13:30 UTC Modified: 2005-03-31 16:13 UTC
From: daniel dot lashua at gte dot com Assigned:
Status: Wont fix Package: Reproducible Crash
PHP Version: 3.0.16 OS: Digital Unix 4.0F Linux 2.2.13
Private report: No CVE-ID: None
 [2000-05-05 13:30 UTC] daniel dot lashua at gte dot com
Reference the following code:

$values_id = ifx_query($stmt_get, $dbcon);

   ifx_textasvarchar(0);
   ifx_blobinfile_mode(0);
   $data =ifx_fetch_row($values_id);
      $db_hubclli=$data["hub_clli"];
      $db_sub_clli=$data["clli_code"];
      $db_sfac=$data["sfac"];
      $db_code=$data["code"];
      $db_name=$data["name"];
      $notes_id=$data["notes"];
      $db_ri= $data["ri"];
      $db_notes = ifx_get_blob($notes_id);

    ifx_free_blob($notes_id);
   ifx_free_result($values_id);



The "ifx_get_blob" function causes Apache to SIGSEGV on more than one
platform. The server product is Informix Online Server 7.24.FC6. The
Informix Client Libraries are version 7.20. Apache version is 1.3.9. PHP
version is 3.0.16. This occurs on both the Digital Unix 4.0F operating
system running on Digital hardware (DS20) and on Linux 2.2.13.

From the Linux box, here is the output of gdb:

(gdb) run
Starting program: /usr/local/apache/bin/./httpd -D TEST -X


Program received signal SIGSEGV, Segmentation fault.
0x2ad37c2f in php3_intifxus_new_slob (list=0x0) at functions/ifx.ec:4563
4563     if(Ifx_slob==NULL) {
(gdb) continue
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.





The SIGSEGV is received when the above code snippet is accessed via web
browser.

Program received signal SIGSEGV, Segmentation fault.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Oct 12 21:01:26 2024 UTC