You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/12/16 22:16:07 UTC

[jira] [Updated] (HBASE-10178) Potential null object dereference in TablePermission#equals()

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

Ted Yu updated HBASE-10178:
---------------------------

    Attachment: 10178-v1.txt

> 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
>         Attachments: 10178-v1.txt
>
>
> 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)