You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "dhruba borthakur (JIRA)" <ji...@apache.org> on 2007/06/01 00:17:16 UTC

[jira] Resolved: (HADOOP-1360) Possible null pointer dereference of thisAuthority in FileSystem.checkPath(Path)

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

dhruba borthakur resolved HADOOP-1360.
--------------------------------------

    Resolution: Duplicate

HADOOP-1392

> Possible null pointer dereference of thisAuthority in FileSystem.checkPath(Path)
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-1360
>                 URL: https://issues.apache.org/jira/browse/HADOOP-1360
>             Project: Hadoop
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 0.12.3
>            Reporter: Nigel Daley
>            Assignee: dhruba borthakur
>             Fix For: 0.14.0
>
>
> FileSystem.java line 227
>     if (!(this.getUri().getScheme().equals(uri.getScheme()) &&
>           (thisAuthority == null && thatAuthority == null)
>           || thisAuthority.equals(thatAuthority)))
> I'm not convinced that this couldn't produce a NPE on thisAuthority.  This logic should be simplified to ensure it's correctness

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.