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-6582) Missing null check in RpcProgramNfs3#read(XDR, SecurityHandler)
Date Mon, 23 Jun 2014 14:40:24 GMT

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

Brandon Li updated HDFS-6582:
-----------------------------

    Component/s: nfs

> 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
>          Components: nfs
>            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)

Mime
View raw message