Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7102

Null dereference in PacketReceiver#receiveNextPacket()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Later
    • None
    • None
    • None
    • None

    Description

        public void receiveNextPacket(ReadableByteChannel in) throws IOException {
          doRead(in, null);
      

      doRead() would pass null as second parameter to (line 134):

          doReadFully(ch, in, curPacketBuf);
      

      which dereferences it.

      Attachments

        Activity

          People

            Unassigned Unassigned
            yuzhihong@gmail.com Ted Yu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: