hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brandon Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-5886) Potential null pointer deference in RpcProgramNfs3#readlink()
Date Sun, 09 Feb 2014 23:17:20 GMT

     [ https://issues.apache.org/jira/browse/HDFS-5886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Brandon Li updated HDFS-5886:
-----------------------------

      Resolution: Fixed
        Assignee: Brandon Li
    Hadoop Flags: Reviewed
          Status: Resolved  (was: Patch Available)

> 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
>            Assignee: Brandon Li
>         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)

Mime
View raw message