You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Jiajia Li (JIRA)" <ji...@apache.org> on 2017/05/18 01:34:04 UTC
[jira] [Updated] (DIRKRB-538) NullPointerException when KDC returns
error response to client
[ https://issues.apache.org/jira/browse/DIRKRB-538?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jiajia Li updated DIRKRB-538:
-----------------------------
Fix Version/s: 1.0.0
> NullPointerException when KDC returns error response to client
> --------------------------------------------------------------
>
> Key: DIRKRB-538
> URL: https://issues.apache.org/jira/browse/DIRKRB-538
> Project: Directory Kerberos
> Issue Type: Bug
> Affects Versions: 1.0.0-RC2
> Reporter: Alexander Haskell
> Assignee: Alexander Haskell
> Fix For: 1.0.0
>
> Attachments: kdc-error-npe-fix.patch
>
>
> In KrbHandler.onResponseMessage() kdcRequest.kdcRep is not set when we take the error branch and the error is not a KDC_ERR_PREAUTH_REQUIRED. This causes a NPE later in AsRequest.getTicket() when getKdcRep() returns null.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)