You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Hiram Chirino (JIRA)" <ji...@apache.org> on 2012/10/03 00:35:08 UTC

[jira] [Created] (PROTON-49) Attach frames improperly encoded.

Hiram Chirino created PROTON-49:
-----------------------------------

             Summary: Attach frames improperly encoded.
                 Key: PROTON-49
                 URL: https://issues.apache.org/jira/browse/PROTON-49
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-j
            Reporter: Hiram Chirino


SwitfMQ client fails to decode Attach frames encoded with proton-j that have the target or source fields set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Assigned] (PROTON-49) Attach frames improperly encoded.

Posted by "Rob Godfrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey reassigned PROTON-49:
---------------------------------

    Assignee: Rob Godfrey
    
> Attach frames improperly encoded.
> ---------------------------------
>
>                 Key: PROTON-49
>                 URL: https://issues.apache.org/jira/browse/PROTON-49
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>            Assignee: Rob Godfrey
>         Attachments: PROTON-49.patch
>
>
> SwitfMQ client fails to decode Attach frames encoded with proton-j that have the target or source fields set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (PROTON-49) Attach frames improperly encoded.

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PROTON-49?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13468133#comment-13468133 ] 

Hiram Chirino commented on PROTON-49:
-------------------------------------

Sample Attach frame generated from proton-j in hex:

00 00 00 73 02 00 00 00 00 53 12 c0 64 07 a1 22 2d 37 39 38 
35 38 35 35 38 35 35 35 38 39 31 37 31 30 37 38 2f 30 2f 74 
65 73 74 71 75 65 75 65 2f 30 43 41 50 02 50 00 00 53 28 c0 
25 01 a1 22 2d 37 39 38 35 38 35 35 38 35 35 35 38 39 31 37 
31 30 37 38 2f 30 2f 74 65 73 74 71 75 65 75 65 2f 30 00 53 
29 c0 0c 01 a1 09 74 65 73 74 71 75 65 75 65 

Note that the "c0 64 07" starts a list which should be followed by 0x64 (100) bytes.  But the list actually contains 102 bytes.

                
> Attach frames improperly encoded.
> ---------------------------------
>
>                 Key: PROTON-49
>                 URL: https://issues.apache.org/jira/browse/PROTON-49
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>
> SwitfMQ client fails to decode Attach frames encoded with proton-j that have the target or source fields set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PROTON-49) Attach frames improperly encoded.

Posted by "Hiram Chirino (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hiram Chirino updated PROTON-49:
--------------------------------

    Attachment: PROTON-49.patch

Attaching patch that fixes the issue.

The calculated constructor size did not also factor in the size of the underlyingEncoding constructor.
                
> Attach frames improperly encoded.
> ---------------------------------
>
>                 Key: PROTON-49
>                 URL: https://issues.apache.org/jira/browse/PROTON-49
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>         Attachments: PROTON-49.patch
>
>
> SwitfMQ client fails to decode Attach frames encoded with proton-j that have the target or source fields set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (PROTON-49) Attach frames improperly encoded.

Posted by "Rob Godfrey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PROTON-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rob Godfrey resolved PROTON-49.
-------------------------------

    Resolution: Fixed

patch applied
                
> Attach frames improperly encoded.
> ---------------------------------
>
>                 Key: PROTON-49
>                 URL: https://issues.apache.org/jira/browse/PROTON-49
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>            Reporter: Hiram Chirino
>            Assignee: Rob Godfrey
>         Attachments: PROTON-49.patch
>
>
> SwitfMQ client fails to decode Attach frames encoded with proton-j that have the target or source fields set.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira