mina-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Goldstein Lyor (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SSHD-406) Stop parsing pty-req modes for undefined opcodes
Date Tue, 10 Feb 2015 06:08:34 GMT
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)

Mime
View raw message