activemq-artemis/artemis-protocols
Martyn Taylor 432e2ce178 ARTEMIS-570 Fix buffer size overflow ProtonHandler
There is a race condition in the ProtonHandlerImpl.outputBuffer()
method.  The method checks to see how many bytes (n) are pending in the
underlying ProtonJ buffer, then creates a Netty buffer of size n.  It
then writes the contents of the pending ProtonJ head.  However, ProtonJ
can still write to it's internal buffer, meaning that it's buffer.size >
n causing an illegalArgumentException.  This patch fixes it by only
writing 'n' bytes to the Netty buffer.
2016-06-17 15:04:32 -04:00
..
artemis-amqp-protocol Remove redundant type arguments 2016-06-14 20:50:21 -04:00
artemis-hornetq-protocol [maven-release-plugin] prepare for next development iteration 2016-06-09 12:52:56 +01:00
artemis-hqclient-protocol [maven-release-plugin] prepare for next development iteration 2016-06-09 12:52:56 +01:00
artemis-mqtt-protocol Fix checkstyle redundant modifier violations 2016-06-13 20:03:54 +03:00
artemis-openwire-protocol ARTEMIS-571 Fix issues in openwire testsuite 2016-06-17 14:58:54 -04:00
artemis-proton-plug ARTEMIS-570 Fix buffer size overflow ProtonHandler 2016-06-17 15:04:32 -04:00
artemis-stomp-protocol Fix checkstyle redundant modifier violations 2016-06-13 20:03:54 +03:00
pom.xml [maven-release-plugin] prepare for next development iteration 2016-06-09 12:52:56 +01:00