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] [Updated] (SSHD-406) Stop parsing pty-req modes for undefined opcodes
Date Tue, 10 Feb 2015 06:10:34 GMT

     [ https://issues.apache.org/jira/browse/SSHD-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Goldstein Lyor updated SSHD-406:
--------------------------------
    Attachment: 0015-SSHD-406-Stop-parsing-pty-req-modes-for-undefined-op.patch

Attached proposed code fix

> 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
>
>         Attachments: 0015-SSHD-406-Stop-parsing-pty-req-modes-for-undefined-op.patch
>
>
> 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