[
https://issues.apache.org/jira/browse/QPID-5884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14068579#comment-14068579
]
ASF subversion and git services commented on QPID-5884:
-------------------------------------------------------
Commit 1612284 from [~godfrer] in branch 'qpid/trunk'
[ https://svn.apache.org/r1612284 ]
QPID-5884 : The broker should not NPE if it receives a SASL Init request where
no mechanism is provided
> NullPointerException when using Base64MD5 file for AMQP 1.0 authentication
> --------------------------------------------------------------------------
>
> Key: QPID-5884
> URL: https://issues.apache.org/jira/browse/QPID-5884
> Project: Qpid
> Issue Type: Bug
> Components: Java Broker
> Affects Versions: 0.28
> Environment: OpenJDK Runtime Environment (rhel-2.4.7.1.el6_5-x86_64
> u55-b13)
> OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
> Reporter: Mark Soderquist
> Fix For: 0.29
>
>
> Received an NPE when using the Base64MD5PasswordFile authentication provider.
> This did not happen when using the PlainPasswordFile. Here is the stack trace:
> java.lang.NullPointerException
> at
> org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receiveSaslInit(ConnectionEndpoint.java:818)
> at
> org.apache.qpid.amqp_1_0.type.security.SaslInit.invoke(SaslInit.java:112)
> at
> org.apache.qpid.amqp_1_0.transport.ConnectionEndpoint.receive(ConnectionEndpoint.java:737)
> at
> org.apache.qpid.amqp_1_0.framing.SASLFrameHandler.parse(SASLFrameHandler.java:240)
> at
> org.apache.qpid.server.protocol.v1_0.ProtocolEngine_1_0_0_SASL$3.run(ProtocolEngine_1_0_0_SASL.java:367)
> at
> org.apache.qpid.server.protocol.v1_0.ProtocolEngine_1_0_0_SASL$3.run(ProtocolEngine_1_0_0_SASL.java:363)
> at java.security.AccessController.doPrivileged(Native Method)
> at javax.security.auth.Subject.doAs(Subject.java:356)
> at
> org.apache.qpid.server.protocol.v1_0.ProtocolEngine_1_0_0_SASL.received(ProtocolEngine_1_0_0_SASL.java:362)
> at
> org.apache.qpid.server.protocol.v1_0.ProtocolEngine_1_0_0_SASL.received(ProtocolEngine_1_0_0_SASL.java:64)
> at
> org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:132)
> at
> org.apache.qpid.server.protocol.MultiVersionProtocolEngine.received(MultiVersionProtocolEngine.java:48)
> at
> org.apache.qpid.transport.network.io.IoReceiver.run(IoReceiver.java:161)
> at java.lang.Thread.run(Thread.java:744)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]