netty5/codec-socks/src
Trustin Lee 0b935b85ce Fix an incorrect use of ByteBuf.array() in Socks5CmdRequestDecoder
Motivation:

Socks5CmdRequestDecoder uses ByteBuf.array() naively assuming that the
array's base offset is always 0, which is not the case.

Modification:

- Allocate a new byte array and copy the content there instead

Result:

Another bug fixed
2014-10-14 12:29:08 +09:00
..
main/java/io/netty/handler/codec Fix an incorrect use of ByteBuf.array() in Socks5CmdRequestDecoder 2014-10-14 12:29:08 +09:00
test/java/io/netty/handler/codec codec-socks test cleanup 2014-08-20 06:53:37 +02:00