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
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 !
Your email address:
MUST BE VALID
Solve the problem:
34 - 22 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Apr 19 11:01:28 2024 UTC