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] [Commented] (HBASE-10178) Potential null object dereference in TablePermission#equals()
Date Mon, 16 Dec 2013 23:48:07 GMT

    [ https://issues.apache.org/jira/browse/HBASE-10178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849876#comment-13849876
] 

Ted Yu commented on HBASE-10178:
--------------------------------

Integrated to 0.98 and trunk.

Thanks for the review, Andy.

> 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
>            Assignee: Ted Yu
>             Fix For: 0.98.0, 0.99.0
>
>         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