[jboss-jira] [JBoss JIRA] (WFLY-7564) Attachment protocol mismatch

David Lloyd (JIRA) issues at jboss.org
Fri Nov 11 13:40:00 EST 2016


     [ https://issues.jboss.org/browse/WFLY-7564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Lloyd moved EJBCLIENT-174 to WFLY-7564:
---------------------------------------------

              Project: WildFly  (was: EJB Client Library (AS7+))
                  Key: WFLY-7564  (was: EJBCLIENT-174)
    Affects Version/s:     (was: 2.0.3.Final)
                           (was: 2.1.7.Final)
                           (was: 1.0.37.Final)
                           (was: 3.0.0.Beta3)
        Fix Version/s: 11.0.0.Alpha1
                           (was: 2.0.4.Final)
                           (was: 4.0.0.Beta1)
                           (was: 1.0.38.Final)
                           (was: 2.1.8.Final)
                           (was: 3.0.0.Beta4)


> Attachment protocol mismatch
> ----------------------------
>
>                 Key: WFLY-7564
>                 URL: https://issues.jboss.org/browse/WFLY-7564
>             Project: WildFly
>          Issue Type: Bug
>            Reporter: David Lloyd
>            Assignee: David Lloyd
>            Priority: Blocker
>             Fix For: 11.0.0.Alpha1
>
>
> In both EJB client and server code, on method invocations where context data is sent, the sender writes the attachment count as a packed integer but the reader consumes it as an unsigned byte.  This is not good.
> The fix:
> * In protocol 3 and higher, always read and write a packed integer
> * In protocol 2 and lower, always read a packed integer but write a signed byte, failing if more than 127 attachments are present



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list