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/05/15 20:12:16 UTC
[jira] Updated: (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 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.