You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/11/26 12:27:10 UTC

[jira] [Commented] (QPID-6914) [Java Broker] Setting a relative path without a parent for encrypter.key.file leads to NPE

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

ASF subversion and git services commented on QPID-6914:
-------------------------------------------------------

Commit 1716607 from [~k-wall] in branch 'java/trunk'
[ https://svn.apache.org/r1716607 ]

QPID-6914: Prevent NPE within AESKeyFileEncrypter when a relative path is used without parent

> [Java Broker] Setting a relative path without a parent for encrypter.key.file leads to NPE
> ------------------------------------------------------------------------------------------
>
>                 Key: QPID-6914
>                 URL: https://issues.apache.org/jira/browse/QPID-6914
>             Project: Qpid
>          Issue Type: Bug
>          Components: Java Broker
>            Reporter: Lorenz Quack
>            Priority: Minor
>
> line 298 in AESKeyFileEncrypterFactory can NPE with relative paths that don't contain a parent. I guess the fix is  to add getAbsoluteFile()



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

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org