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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 05:01:29 2024 UTC