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

SocketInputStream incorrectly implements read()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.20.2, 0.21.0, 0.22.0
    • 0.22.0
    • io
    • None
    • Reviewed

    Description

      SocketInputStream's read() implementation doesn't upcast to int correctly, so it can't read bytes > 0x80. This is the same bug as HADOOP-6925, but in a different spot.

      Attachments

        1. HADOOP-6926.patch
          1 kB
          Thomas White
        2. hadoop-6926.txt
          1 kB
          Todd Lipcon

        Activity

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: