Hadoop Common
  1. Hadoop Common
  2. HADOOP-4271

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.16.0
    • Fix Version/s: 0.17.3, 0.18.2
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      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.

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

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Ning Li
              Reporter:
              Ning Li
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development