hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "kanaka kumar avvaru (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-8751) NPE in Token.toString() when Token is constructed using null identifier
Date Mon, 25 May 2015 11:43:18 GMT

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

kanaka kumar avvaru updated HADOOP-8751:
----------------------------------------
    Attachment: HADOOP-8751-03.patch

> 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
>    Affects Versions: 2.0.0-alpha
>            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)

Mime
View raw message