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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: langemeijer@php.net
New email:
PHP Version: OS:

 

 [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-2021 The PHP Group
All rights reserved.
Last updated: Sat Jul 24 06:01:24 2021 UTC