hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-8751) NPE in Token.toString() when Token is constructed using null identifier
Date Tue, 26 May 2015 12:00:23 GMT

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

Hudson commented on HADOOP-8751:
--------------------------------

SUCCESS: Integrated in Hadoop-Yarn-trunk #939 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/939/])
HADOOP-8751. NPE in Token.toString() when Token is constructed using null identifier. Contributed
by kanaka kumar avvaru. (aajisaka: rev 56996a685e6201cb186cea866d22418289174574)
* hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/security/token/delegation/TestDelegationToken.java
* hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/security/token/Token.java
* hadoop-common-project/hadoop-common/CHANGES.txt


> 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)

Mime
View raw message