Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8751

NPE in Token.toString() when Token is constructed using null identifier

Log workAgile BoardRank to TopRank to BottomAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: security
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      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.

        Attachments

        1. HADOOP-8751.patch
          3 kB
          Vlad Rozov
        2. HADOOP-8751-01.patch
          4 kB
          Kanaka Kumar Avvaru
        3. HADOOP-8751-01.patch
          4 kB
          Kanaka Kumar Avvaru
        4. HADOOP-8751-02.patch
          4 kB
          Kanaka Kumar Avvaru
        5. HADOOP-8751-03.patch
          3 kB
          Kanaka Kumar Avvaru

        Issue Links

          Activity

          $i18n.getText('security.level.explanation', $currentSelection) Viewable by All Users
          Cancel

            People

            • Assignee:
              kanaka Kanaka Kumar Avvaru Assign to me
              Reporter:
              vrozov Vlad Rozov

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment