-
-
Notifications
You must be signed in to change notification settings - Fork 878
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined Array Key WARNING #1856
Comments
Before considering your PR's I'd like to better understand why this is needed. Can you tell me what version of phpseclib you're using and could you provide the full log files? You can get them by doing The thing is... when phpseclib opens a channel the server should respond with an OPEN_CONFIRMATION packet that should set that variable: phpseclib/phpseclib/Net/SSH2.php Lines 3902 to 3913 in a10a3b8
If the server tries to open a channel on the client (phpseclib) then phpseclib will respond with an OPEN_FAILURE response unless the CHANNEL_OPEN request is for auth-agent or [email protected]. If phpseclib is sending channel data for a channel that has not been opened then that's a bug which this code (1) doesn't fix and (2) sweeps under the rug and makes it harder to spot. So instead of trying to address the symptoms I'd rather we consider the root cause. |
Hi,
is it possible that we can check if the key exists or can we coalesce to false if it doesnt exists?
phpseclib/phpseclib/Net/SSH2.php
Line 4267 in 7181378
The text was updated successfully, but these errors were encountered: