hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinayakumar B (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-7102) Null dereference in PacketReceiver#receiveNextPacket()
Date Tue, 23 Sep 2014 09:23:33 GMT

    [ https://issues.apache.org/jira/browse/HDFS-7102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14144593#comment-14144593
] 

Vinayakumar B commented on HDFS-7102:
-------------------------------------

Any potential problem you are seeing here?

> 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