[
https://issues.apache.org/jira/browse/HDFS-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13895238#comment-13895238
]
Hadoop QA commented on HDFS-5886:
---------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12627735/HDFS-5886.patch
against trunk revision .
{color:red}-1 patch{color}. Trunk compilation may be broken.
Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/6080//console
This message is automatically generated.
> 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
> Components: nfs
> Reporter: Ted Yu
> Attachments: HDFS-5886.patch
>
>
> 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)