qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-844) proton-j: ArrayIndexOutOfBounds exception if remote peer sends a handle >1024
Date Thu, 02 Apr 2015 19:31:53 GMT

    [ https://issues.apache.org/jira/browse/PROTON-844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14393220#comment-14393220
] 

ASF GitHub Bot commented on PROTON-844:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/qpid-proton/pull/16


> proton-j: ArrayIndexOutOfBounds exception if remote peer sends a handle >1024
> -----------------------------------------------------------------------------
>
>                 Key: PROTON-844
>                 URL: https://issues.apache.org/jira/browse/PROTON-844
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-j
>    Affects Versions: 0.9
>            Reporter: Dominic Evans
>
> If a remote peer attempts to attach with a handle >1024, its advertised handle-max,
a proton-j service will hit an ArrayIndexOutOfBoundsException in the call to getLinkFromRemoteHandle
> Similarly, if a proton-j client attempts to allocate a local handle when all 1024 are
used up, it chooses UnsignedInteger.MAX_VALUE rather than throwing an Exception locally.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message