directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiajia Li (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DIRKRB-538) NullPointerException when KDC returns error response to client
Date Wed, 13 Jul 2016 06:59:20 GMT

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

Jiajia Li resolved DIRKRB-538.
------------------------------
    Resolution: Fixed

Thanks for the patch.

> 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
>         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.4#6332)

Mime
View raw message