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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
33 + 39 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 15:01:30 2024 UTC