hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10178) Potential null object dereference in TablePermission#equals()
Date Mon, 16 Dec 2013 21:16:07 GMT

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

Mime
View raw message