[
https://issues.apache.org/jira/browse/HADOOP-8751?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Akira AJISAKA updated HADOOP-8751:
----------------------------------
Resolution: Fixed
Fix Version/s: 2.8.0
Hadoop Flags: Reviewed
Status: Resolved (was: Patch Available)
Committed this to trunk and branch-2. Thanks [~kanaka] for contribution.
> NPE in Token.toString() when Token is constructed using null identifier
> -----------------------------------------------------------------------
>
> Key: HADOOP-8751
> URL: https://issues.apache.org/jira/browse/HADOOP-8751
> Project: Hadoop Common
> Issue Type: Bug
> Components: security
> Reporter: Vlad Rozov
> Assignee: kanaka kumar avvaru
> Priority: Minor
> Fix For: 2.8.0
>
> Attachments: HADOOP-8751-01.patch, HADOOP-8751-01.patch,
> HADOOP-8751-02.patch, HADOOP-8751-03.patch, HADOOP-8751.patch
>
>
> Token constructor allows null to be passed leading to NPE in
> Token.toString(). Simple fix is to check for null in constructor and use
> empty byte arrays.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)