You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Goldstein Lyor (JIRA)" <ji...@apache.org> on 2015/02/10 07:08:34 UTC
[jira] [Created] (SSHD-406) Stop parsing pty-req modes for
undefined opcodes
Goldstein Lyor created SSHD-406:
-----------------------------------
Summary: Stop parsing pty-req modes for undefined opcodes
Key: SSHD-406
URL: https://issues.apache.org/jira/browse/SSHD-406
Project: MINA SSHD
Issue Type: Improvement
Reporter: Goldstein Lyor
Priority: Minor
Fix For: 0.14.0
According to [RFC 4254 - section 8|https://tools.ietf.org/html/rfc4254#section-8]:
{quote}
Opcodes 160 to 255 are not yet defined, and cause parsing to stop.
{quote}
The current code does not account for this option and might cause a *NullPointerException* if such opcodes are ever found. While not likely to be "found in nature", I believe the attached fix makes the code more robust.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)