qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajith Attapattu (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Resolved: (QPID-2176) Java client should throw a protocol violation exception if it receives frames intended for a session that is already detached.
Date Tue, 03 Nov 2009 14:59:59 GMT

     [ https://issues.apache.org/jira/browse/QPID-2176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rajith Attapattu resolved QPID-2176.
------------------------------------

    Resolution: Fixed

I added a fix at rev 832441 in Qpid trunk to throw a ProtocolViolationException if a method
is received on an already detached session.
Rob had already added the null check in rev 829675 in Qpid trunk to avoid calling the method
on a null session.


> Java client should throw a protocol violation exception if it receives frames intended
for a session that is already detached.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: QPID-2176
>                 URL: https://issues.apache.org/jira/browse/QPID-2176
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Client
>    Affects Versions: 0.5
>            Reporter: Rajith Attapattu
>            Assignee: Rajith Attapattu
>             Fix For: 0.6
>
>
> The JMS client is currently vulnerable if a peer sends frames for a session that is already
detached.
> The JMS client will throw a NPE as it will try to invoke the commands on  a null reference.
> The client needs to check if the session is detached and if so should a protocol violation
exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
Apache Qpid - AMQP Messaging Implementation
Project:      http://qpid.apache.org
Use/Interact: mailto:dev-subscribe@qpid.apache.org


Mime
View raw message