php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #63192 Check authentication status
Submitted: 2012-10-01 08:08 UTC Modified: 2012-10-01 19:12 UTC
From: langemeijer@php.net Assigned: langemeijer (profile)
Status: Closed Package: ssh2 (PECL)
PHP Version: Irrelevant OS: any
Private report: No CVE-ID: None
 [2012-10-01 08:08 UTC] langemeijer@php.net
Description:
------------
It seems that many functions don't know or check the authentication status for a 
session. This leads to 100% cpu usage sometimes.

- A double ssh2_auth_*() hangs.
- An ssh2_exec() on an unauthenticated session hangs.

An expected results would be: failing with a warning.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-10-01 19:11 UTC] langemeijer@php.net
Automatic comment from SVN on behalf of langemeijer
Revision: http://svn.php.net/viewvc/?view=revision&revision=327852
Log: Check if connection is authenticated. closes bug #63192
 [2012-10-01 19:12 UTC] langemeijer@php.net
The fix for this bug has been committed.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.


 [2012-10-01 19:12 UTC] langemeijer@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: langemeijer
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 07:01:27 2024 UTC