-
Notifications
You must be signed in to change notification settings - Fork 41
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
java.lang.ArrayIndexOutOfBoundsException: 1024 #29
Comments
The root cause is line 71 in AgentProxy, where the buffer is initialized with a size of 1024. |
For me the exception does not occur when using Pageant 0.61. It does occur with later versions. |
I believe that there is a bug in AgentProxy.java. The same goes for all the other methods in this class. I did not test this, but I guess this could fix the issue:
|
Probably not, @ymnk last activity on Github goes back to November 2014. |
At least on Linux, AIOOBE is a red herring! The root cause isn't incorrect code as suspected by @rafaroca. Instead, it seems to be the combination of the underlying Connector reading an invalid value for the environment variable You can convince yourself that the order in which A sensible fix for the underlying Line 115 in 12c3d64
|
during cloud instance provisioning. See ymnk/jsch-agent-proxy#29 and ymnk/jsch-agent-proxy#29 (comment) specifically. [Bug][Toolbox]
I'm getting this error when trying to use this lib on a shared server with quite a lot of users:
If this can help, in
AgentProxy.getIdentities()
, I get:The factory is
NCUSocketFactory
.The version of netcat is 1.84 (on CentOS 6.X).
The text was updated successfully, but these errors were encountered: