You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2013/12/16 22:09:07 UTC
[jira] [Commented] (HBASE-10178) Potential null object dereference
in TablePermission#equals()
[ https://issues.apache.org/jira/browse/HBASE-10178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849724#comment-13849724 ]
Andrew Purtell commented on HBASE-10178:
----------------------------------------
Good catch. You putting up a patch for this Ted?
> Potential null object dereference in TablePermission#equals()
> -------------------------------------------------------------
>
> Key: HBASE-10178
> URL: https://issues.apache.org/jira/browse/HBASE-10178
> Project: HBase
> Issue Type: Bug
> Reporter: Ted Yu
>
> At line 326:
> {code}
> ((namespace == null && other.getNamespace() == null) ||
> namespace.equals(other.getNamespace()))
> {code}
> If namespace is null but other.getNamespace() is not null, we would deference null object.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)