commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] Resolved: (NET-74) [net]Telnet option handlers subnegotiations does not handle 0xFF correctly
Date Sun, 11 Jul 2010 23:04:49 GMT


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

Added a test case for the code.

> [net]Telnet option handlers subnegotiations does not handle 0xFF correctly
> --------------------------------------------------------------------------
>                 Key: NET-74
>                 URL:
>             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.

View raw message