Return-Path: Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: (qmail 1463 invoked from network); 11 Jul 2010 23:12:44 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Jul 2010 23:12:44 -0000 Received: (qmail 81722 invoked by uid 500); 11 Jul 2010 23:12:44 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 81648 invoked by uid 500); 11 Jul 2010 23:12:43 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 81640 invoked by uid 99); 11 Jul 2010 23:12:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jul 2010 23:12:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Jul 2010 23:12:41 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6BN4njf000840 for ; Sun, 11 Jul 2010 23:04:50 GMT Message-ID: <29734986.317921278889489920.JavaMail.jira@thor> Date: Sun, 11 Jul 2010 19:04:49 -0400 (EDT) From: "Sebb (JIRA)" To: issues@commons.apache.org Subject: [jira] Resolved: (NET-74) [net]Telnet option handlers subnegotiations does not handle 0xFF correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/NET-74?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebb resolved NET-74. --------------------- Resolution: Not A Problem Note that the individual handlers have to deal with doubling any 255 bytes themselves - TelnetClient only adds the IAC SB / IAC SE wrapper. Only the WindowSize option handler can generate the byte 255, and it already takes this into account. Added a test case for the code. > [net]Telnet option handlers subnegotiations does not handle 0xFF correctly > -------------------------------------------------------------------------- > > Key: NET-74 > URL: https://issues.apache.org/jira/browse/NET-74 > Project: Commons Net > Issue Type: Bug > Components: Telnet > Environment: Operating System: other > Platform: Other > Reporter: Yuval Kashtan > Priority: Minor > > in accordance to RFC855: "Finally, if parameters in an option "subnegotiation" > include a byte with a value of 255, it is necessary to double this byte in > accordance the general TELNET rules." > I've actually encontered this while implementing WindowSize option handler, but > it seems that all the currently avilable handlers are vulnerable to this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.