Jiri Danek created ARTEMIS-1412:
-----------------------------------

             Summary: Coverity: 
                 Key: ARTEMIS-1412
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1412
             Project: ActiveMQ Artemis
          Issue Type: Bug
            Reporter: Jiri Danek


{noformat}
245      synchronized (this) {
        1. Condition currentPacket != null, taking true branch.
246         if (currentPacket != null) {
        2. object_freed: sendPacketToOutput frees output. [show details]
247            sendPacketToOutput(output, currentPacket);
248            currentPacket = null;
249         }
        3. Condition handledException == null, taking true branch.
250         while (handledException == null) {
251            LargeData packet = largeMessageData.poll();
        4. Condition packet == null, taking false branch.
252            if (packet == null) {
253               break;
254            }
255            totalFlowControl += packet.getFlowControlSize();
256
257            continues = packet.isContinues();
        
CID 1409518: Use of freed resources (USE_AFTER_FREE)
5. use_after_free: sendPacketToOutput uses freed object output. [show details]
258            sendPacketToOutput(output, packet);
259         }
260
261         checkException();
262         outStream = output;
263      }
264
{noformat}

{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to