netty5/buffer/src
Norman Maurer 182c91f06c Ensure buffer is not released when call array() / memoryAddress()
Motivation:

Before we missed to check if a buffer was released before we return the backing byte array or memoryaddress. This could lead to JVM crashes when someone tried various bulk operations on the Unsafe*ByteBuf implementations.

Modifications:

Always check if the buffer is released before all to return the byte array and memoryaddress.

Result:

No more JVM crashes because of released buffers when doing bulk operations on Unsafe*ByteBuf implementations.
2014-12-11 11:30:31 +01:00
..
main/java/io/netty/buffer Ensure buffer is not released when call array() / memoryAddress() 2014-12-11 11:30:31 +01:00
test/java/io/netty/buffer Ensure buffer is not released when call array() / memoryAddress() 2014-12-11 11:30:31 +01:00