Skip Menu |

This queue is for tickets about the Net-Telnet-Options CPAN distribution.

Report information
The Basics
Id: 34825
Status: new
Priority: 0/
Queue: Net-Telnet-Options

People
Owner: Nobody in particular
Requestors: michaelattenborough_at_yahoo_dot_co_dot_uk [...] say.it
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.01
Fixed in: (no value)



In answerTelnetOpts(), the code to extract the subcommand from the data stream isn't quite right: it is currently my $subcmd = substr($data, $pos + 2, $endpos - $pos + 1); Which can leave up to two unwanted characters at the end of the subcommand. It should be my $subcmd = substr($data, $pos + 2, $endpos - ($pos + 2) + 1); or equivalently my $subcmd = substr($data, $pos + 2, $endpos - $pos - 1);