hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-7102) Null dereference in PacketReceiver#receiveNextPacket()
Date Fri, 19 Sep 2014 20:06:34 GMT
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)

Mime
View raw message