You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/06/20 23:26:25 UTC
[jira] [Created] (HDFS-6582) Missing null check in
RpcProgramNfs3#read(XDR, SecurityHandler)
Ted Yu created HDFS-6582:
----------------------------
Summary: Missing null check in RpcProgramNfs3#read(XDR, SecurityHandler)
Key: HDFS-6582
URL: https://issues.apache.org/jira/browse/HDFS-6582
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Ted Yu
Priority: Minor
Around line 691:
{code}
FSDataInputStream fis = clientCache.getDfsInputStream(userName,
Nfs3Utils.getFileIdPath(handle));
try {
readCount = fis.read(offset, readbuffer, 0, count);
{code}
fis may be null, leading to NullPointerException
--
This message was sent by Atlassian JIRA
(v6.2#6252)