php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59162 Under certain conditions the driver can SEGV when freeing memory
Submitted: 2010-04-14 06:41 UTC Modified: 2010-04-15 12:12 UTC
From: grant dot croker at ingres dot com Assigned: grantc@php.net (profile)
Status: Closed Package: ingres (PECL)
PHP Version: 5.2.13 OS: Linux
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: grant dot croker at ingres dot com
New email:
PHP Version: OS:

 

 [2010-04-14 06:41 UTC] grant dot croker at ingres dot com
Description:
------------
Under certain conditions the PHP driver can SEGV when trying 
to free a result resource from a link.

Backtrace seen in the crash:
#0  0x005c8858 in php_ii_result_remove (ii_result=0x21f5d3c0, 
result_id=13, tsrm_ls=0x21ce7c78) at 
/home/grant/src/hg/pecl/esdissues/ingres.c:3454
#1  0x005c874a in zif_ingres2_free_result (ht=1, 
return_value=0x21f5ae88, return_value_ptr=0x0, this_ptr=0x0, 
return_value_used=0, tsrm_ls=0x21ce7c78) at
/home/grant/src/hg/pecl/esdissues/ingres.c:3415

Expected result:
----------------
Not to SEGV

Actual result:
--------------
SEGV

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-15 12:12 UTC] grant dot croker at ingres dot com
This bug has been fixed in SVN.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 16 13:01:31 2025 UTC