[jboss-jira] [JBoss JIRA] (JGRP-2071) FlowControl: credits are unserialized incorrectly

Bela Ban (JIRA) issues at jboss.org
Mon May 30 08:31:00 EDT 2016


Bela Ban created JGRP-2071:
------------------------------

             Summary: FlowControl: credits are unserialized incorrectly
                 Key: JGRP-2071
                 URL: https://issues.jboss.org/browse/JGRP-2071
             Project: JGroups
          Issue Type: Bug
    Affects Versions: 3.6.9
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 3.6.10


This is a regression in 3.6.9 (3.6.8 is fine). In {{FlowControl.sendCredits()}} and {{.sendCreditRequest()}}, we use Util.objectToBuffer() to serialize the credits, but on the receiver side we use Bits.readLong(), which interprets the {{TYPE_LONG}} sent as first byte as being part of the long.

The reason is an imcomplete backport of from the master branch. The problem does not exist on master.

The faulty commit is {{ac5f507}} on the 3.6 branch



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list