php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58150 Segfaults/libssh 0.17
Submitted: 2008-04-10 12:51 UTC Modified: 2008-12-20 12:27 UTC
From: nick at commcarepharmacy dot com Assigned:
Status: Not a bug Package: ssh2 (PECL)
PHP Version: 5.2.4 OS: RHEL4
Private report: No CVE-ID: None
 [2008-04-10 12:51 UTC] nick at commcarepharmacy dot com
Description:
------------
Downloaded and compiled ssh2.so against libssh2 0.17 on RHEL4 running PHP 5.2.4 and ZendCore.

While attempting anything that calls ssh2 module.

It segfaults.  Zend core is compiled with --disable_debug.  Here is an strace:

http://www.commcarepharmacy.com/strace.txt

Reproduce code:
---------------
$sftp_connection = ssh2_connect("$sftp_server", $sftp_port);
ssh2_auth_password($sftp_connection, "$sftp_user", "$sftp_password");


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-04-10 16:36 UTC] nick at commcarepharmacy dot com
Recompiled with libssh2 0.17/ssh2 0.11 (source) w/ x86_64 diff/php 5.2.4 and obtain same segfault
 [2008-12-20 12:27 UTC] mikesul@php.net
Thank you for taking the time to report a problem with the package.
Unfortunately you are not using a current version of the package -- 
the problem might already be fixed. Please download a new
version from http://pecl.php.net/packages.php

If you are able to reproduce the bug with one of the latest
versions, please change the package version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PECL.

Your backtrace file isn't there any more and there's a newer release now. If you have the problem with the newer version, please provide a backtrace.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Sep 16 08:01:26 2019 UTC