Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/2232 @mtaylor here is updated test that will catch (by the test going OOM) if the byte[] is initialized, and the validity check isnt done first. I checked and unit test fails without your change, but passes with it.
---