Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6415

Missing null check in FSImageSerialization#writePermissionStatus()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • namenode
    • None

    Description

          PermissionStatus.write(out, inode.getUserName(), inode.getGroupName(), p);
      

      getUserName() / getGroupName() may return null.
      null check should be added for these two calls.

      Attachments

        1. HDFS-6415.patch
          1 kB
          Chen He

        Activity

          People

            airbots Chen He
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: