Ted Yu created HDFS-7102:
----------------------------

             Summary: Null dereference in PacketReceiver#receiveNextPacket()
                 Key: HDFS-7102
                 URL: https://issues.apache.org/jira/browse/HDFS-7102
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


{code}
  public void receiveNextPacket(ReadableByteChannel in) throws IOException {
    doRead(in, null);
{code}
doRead() would pass null as second parameter to (line 134):
{code}
    doReadFully(ch, in, curPacketBuf);
{code}
which dereferences it.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to