Details
-
Bug
-
Status: Resolved
-
Resolution: Done
-
unspecified
-
None
-
None
-
Operating System: Mac OS
Platform: Macintosh
-
1324
Description
OFDecoder.decode(), lines 53-58
if (dataObject == null)
{ LOGGER.warn("Translated POJO is null"); return; } msg.getMessageBuffer().release();
out.add(dataObject);
}
If the decoded object happens to be null, we do not release the original message buffer. I am not sure if it’s used somewhere else (unlikely, that would be bad design) - if it is not, we have a potential buffer leak.