[ https://issues.apache.org/jira/browse/ARTEMIS-2149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16664846#comment-16664846 ]
ASF GitHub Bot commented on ARTEMIS-2149: ----------------------------------------- Github user michaelandrepearce commented on the issue: https://github.com/apache/activemq-artemis/pull/2396 Another thing ive noticed is currently where validBuffer is changed its not protected its only volatile, so you could enter syncronized method do the validBuffer check, but then subsequently because the validBuffer isn't protected it could change, before you exit the synced method. > CoreMessage may have issues encoding if messageChanged is called for any > reason. > -------------------------------------------------------------------------------- > > Key: ARTEMIS-2149 > URL: https://issues.apache.org/jira/browse/ARTEMIS-2149 > Project: ActiveMQ Artemis > Issue Type: Bug > Components: AMQP, Broker > Affects Versions: 2.6.3 > Reporter: clebert suconic > Assignee: clebert suconic > Priority: Major > Fix For: 2.7.0, 2.6.4 > > > If the message body Valid is changed for any reason, and you have the message > being sent for multiple consumers you will get IIOB or other encoding / > decoding issues. -- This message was sent by Atlassian JIRA (v7.6.3#76005)