hadoop-common-issues mailing list archives

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

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

Akira AJISAKA updated HADOOP-8751:
----------------------------------
    Labels:   (was: BB2015-05-TBR)

> 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