Emmanuel Lécharny created DIRMINA-1195:
------------------------------------------
Summary: Always zero and free the read buffer once processed
Key: DIRMINA-1195
URL: https://issues.apache.org/jira/browse/DIRMINA-1195
Project: MINA
Issue Type: Bug
Affects Versions: 2.1.12, 2.2.7, 2.0.28
Reporter: Emmanuel Lécharny
When processing a message, we need to always free if once done. Currently we
simply set it to null, which is ok for simple ByterBuffer, not for Direct
memory ByteBuffer.
We also should zero the content before, because it may contain important data
that will be kept in memory for a while before the GC kicks.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]