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] Updated: (HADOOP-1360) Possible null pointer dereference of thisAuthority in FileSystem.checkPath(Path)
Date Tue, 15 May 2007 18:12:16 GMT

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

dhruba borthakur updated HADOOP-1360:
-------------------------------------

    Fix Version/s:     (was: 0.13.0)
                   0.14.0
         Priority: Major  (was: Blocker)

Should not cause any data corruption, deferring to next release.

> 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
>             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