Uploaded image for project: 'MINA SSHD'
  1. MINA SSHD
  2. SSHD-406

Stop parsing pty-req modes for undefined opcodes

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.14.0
    • None

    Description

      According to RFC 4254 - section 8:

      Opcodes 160 to 255 are not yet defined, and cause parsing to stop.

      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.

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            lgoldstein Lyor Goldstein
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: