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/02/04 23:46:16 UTC
[jira] [Created] (HDFS-5886) Potential null pointer deference in
RpcProgramNfs3#readlink()
Ted Yu created HDFS-5886:
----------------------------
Summary: Potential null pointer deference in RpcProgramNfs3#readlink()
Key: HDFS-5886
URL: https://issues.apache.org/jira/browse/HDFS-5886
Project: Hadoop HDFS
Issue Type: Bug
Reporter: Ted Yu
Here is related code:
{code}
if (MAX_READ_TRANSFER_SIZE < target.getBytes().length) {
return new READLINK3Response(Nfs3Status.NFS3ERR_IO, postOpAttr, null);
}
{code}
READLINK3Response constructor would dereference the third parameter:
{code}
this.path = new byte[path.length];
{code}
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)