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

Akira AJISAKA commented on HADOOP-8751:
---------------------------------------

+1, committing this.

> 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
>              Labels: BB2015-05-TBR
>         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)

Reply via email to