hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6415) Missing null check in FSImageSerialization#writePermissionStatus()
Date Fri, 16 May 2014 11:01:54 GMT
Ted Yu created HDFS-6415:
----------------------------

             Summary: Missing null check in FSImageSerialization#writePermissionStatus()
                 Key: HDFS-6415
                 URL: https://issues.apache.org/jira/browse/HDFS-6415
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
    PermissionStatus.write(out, inode.getUserName(), inode.getGroupName(), p);
{code}
getUserName() / getGroupName() may return null.
null check should be added for these two calls.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message