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

Bug in FSInputChecker makes it possible to read from an invalid buffer

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.16.0
    • 0.17.3, 0.18.2
    • fs
    • None
    • Reviewed
    • Checksum input stream can sometimes return invalid data to the user.

    Description

      Bug in FSInputChecker makes it possible to read from an invalid buffer. The buffer in FSInputChecker becomes invalid when readChecksumChunk is used to read a chunk to a user buffer directly. Currently, it's not marked as invalid in this case and may be read subsequently.

      Attachments

        1. HADOOP-4277-branch-18-correction.patch
          1 kB
          Raghu Angadi
        2. hadoop-4271-branch-18.patch
          6 kB
          Raghu Angadi
        3. hadoop-4271-branch-18.patch
          3 kB
          Raghu Angadi
        4. hadoop-4271-branch-17.patch
          3 kB
          Raghu Angadi
        5. hadoop-4271.patch
          8 kB
          Ning Li
        6. hadoop-4271.patch
          5 kB
          Ning Li
        7. hadoop-4271.patch
          3 kB
          Ning Li
        8. hadoop-4271.patch
          3 kB
          Raghu Angadi
        9. data_testFSInputChecker
          1 kB
          Ning Li
        10. .data_testFSInputChecker.crc
          0.0 kB
          Ning Li

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ningli Ning Li
            ningli Ning Li
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment