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

ASF GitHub Bot commented on ARTEMIS-1801:
-----------------------------------------

GitHub user stanlyDoge opened a pull request:

    https://github.com/apache/activemq-artemis/pull/2010

    ARTEMIS-1801 removing null-unchecked dereferences

    There were some cases where value was checked for null and later directly 
dereferenced without check. I added checks. I am not sure about "default 
behaviour" tho. Can anybody check?

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/stanlyDoge/activemq-artemis ARTEMIS-1801

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/2010.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #2010
    
----
commit 8f393828473c75321b28a4fe63f5f08fb7006bbe
Author: Stanislav Knot <sknot@...>
Date:   2018-04-11T06:43:07Z

    ARTEMIS-1801 removing null-unchecked dereferences

----


> Remove dereferences before null check
> -------------------------------------
>
>                 Key: ARTEMIS-1801
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1801
>             Project: ActiveMQ Artemis
>          Issue Type: Bug
>            Reporter: Stanislav Knot
>            Assignee: Stanislav Knot
>            Priority: Minor
>
> There are some dereferences before object is checked for null.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to