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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • security
    • None
    • 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-03.patch
          3 kB
          Kanaka Kumar Avvaru
        2. HADOOP-8751-02.patch
          4 kB
          Kanaka Kumar Avvaru
        3. HADOOP-8751-01.patch
          4 kB
          Kanaka Kumar Avvaru
        4. HADOOP-8751-01.patch
          4 kB
          Kanaka Kumar Avvaru
        5. HADOOP-8751.patch
          3 kB
          Vlad Rozov

        Issue Links

          Activity

            People

              kanaka Kanaka Kumar Avvaru
              vrozov Vlad Rozov
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: