netty5/codec/src
Norman Maurer 984b0aa961 [#2572] Correctly calculate length of output buffer before inflate to fix IndexOutOfBoundException
Motivation:

JdkZlibDecoder fails to decode because the length of the output buffer is not calculated correctly.
This can cause an IndexOutOfBoundsException or data-corruption when the PooledByteBuffAllocator is used.

Modifications:

Correctly calculate the length

Result:

No more IndexOutOfBoundsException or data-corruption.
2014-06-16 10:17:02 +02:00
..
main/java/io/netty/handler/codec [#2572] Correctly calculate length of output buffer before inflate to fix IndexOutOfBoundException 2014-06-16 10:17:02 +02:00
test [#2572] Correctly calculate length of output buffer before inflate to fix IndexOutOfBoundException 2014-06-16 10:17:02 +02:00