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

Reply via email to