php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56544 dbx with sybase causes coredump
Submitted: 2005-09-14 09:24 UTC Modified: 2017-01-29 04:22 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: steveh at brendata dot co dot uk Assigned:
Status: No Feedback Package: dbx (PECL)
PHP Version: 5.0.3 OS: linux 2.4.28
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: steveh at brendata dot co dot uk
New email:
PHP Version: OS:

 

 [2005-09-14 09:24 UTC] steveh at brendata dot co dot uk
Description:
------------
I've logged a bug which has been around for a while on php bugs, but it's just been closed with the advice to log it here.

Here's the reference (it contains the backtrace and example code etc).

http://bugs.php.net/?id=28728


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-09-14 10:31 UTC] M dot Boeren at guidance dot nl
The following fixes the crash, but I'm not sure about side-effects so I won't consider it closed yet, which also means that I won't modify the dbx_sybasect.c source in cvs just yet. Feedback appreciated.

Probable fix (verified that it doesn't crash, not tested for side-effects):

Comment out (or remove) line 198 and 235 in dbx_sybasect.c?

198:	zval_ptr_dtor(zv_name); 
235:	zval_ptr_dtor(zv_type); 

If you're using the source from pecl, the linenumbers are 204 and 242, respectively.
 [2017-01-20 20:40 UTC] heiglandreas@php.net
-Status: Open +Status: Feedback
 [2017-01-20 20:40 UTC] heiglandreas@php.net
Is this still relevant?
 [2017-01-29 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Mar 30 14:01:24 2020 UTC