Uploaded image for project: 'EJB Client Library (AS7+)'
  1. EJB Client Library (AS7+)
  2. EJBCLIENT-173

Attachment protocol mismatch

    XMLWordPrintable

Details

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              dlloyd@redhat.com David Lloyd
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: