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

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

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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: