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

Buffer.MAX_LEN and DefaultSftpClient#write() don't play well together

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.13.0
    • 0.14.0
    • None

    Description

      if you make a call to the write() method with a number bigger than Buffer.MAX_LEN, Buffer.getBytes() will throw an IllegalStateException.

      TO DO: investigate further usages of Buffer#getString and Buffer#getBytes and see if any of this bug manifests itself elsewhere and, if so, do we want to migrate the "chunking" logic within Buffer?

      Attachments

        Activity

          People

            gnodet Guillaume Nodet
            doug_tucker Doug Tucker
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: