Opened 6 years ago
Closed 6 years ago
#1254 closed defect (fixed)
I2PTunnel: Empty /USER causes OutOfBoundsException
Reported by: | killyourtv | Owned by: | zzz |
---|---|---|---|
Priority: | minor | Milestone: | 0.9.13 |
Component: | apps/i2ptunnel | Version: | 0.9.12 |
Keywords: | Cc: | ||
Parent Tickets: | Sensitive: | no |
Description
The syntax for USER is
/USER <ident> <local host> <remote host> :<GECOS>
When accessing the server directly (not within I2P), the following is returned when sending an empty /USER
:
USER :Not enough parameters.
Good.
If this is done though I2P the connection is dropped with the following logged (note the line number in IRCFilter.java doesn't match because I've got a couple local changes):
ERROR [Client 4 out] tunnel.socks.I2PSOCKSIRCTunnel: Error filtering outbound data java.lang.ArrayIndexOutOfBoundsException: 2 at net.i2p.i2ptunnel.irc.IRCFilter.outboundFilter(IRCFilter.java:349) at net.i2p.i2ptunnel.irc.IrcOutboundFilter.run(IrcOutboundFilter.java:67) at java.lang.Thread.run(Thread.java:744) at net.i2p.util.I2PThread.run(I2PThread.java:84)
Subtickets
Change History (2)
comment:1 Changed 6 years ago by
Owner: | set to zzz |
---|---|
Status: | new → accepted |
comment:2 Changed 6 years ago by
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
in 46bc5bc3988a161013ba8b3b4528c495fe8894ab 0.9.12-6
ditto NOTICE and PRIVMSG
Note: See
TracTickets for help on using
tickets.
easy fix