hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "dhruba borthakur (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HADOOP-1360) Possible null pointer dereference of thisAuthority in FileSystem.checkPath(Path)
Date Thu, 17 May 2007 19:07:16 GMT

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

dhruba borthakur reassigned HADOOP-1360:
----------------------------------------

    Assignee: dhruba borthakur

> 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
>         Assigned To: 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.


Mime
View raw message