lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-6628) Null value dereference
Date Sat, 27 Jun 2015 06:18:04 GMT

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

ASF GitHub Bot commented on LUCENE-6628:
----------------------------------------

GitHub user rmp91 opened a pull request:

    https://github.com/apache/lucene-solr/pull/174

    LUCENE-6628: Checking for null returned by getChild

    https://issues.apache.org/jira/browse/LUCENE-6628

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

    $ git pull https://github.com/rmp91/lucene-solr LUCENE-6628

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

    https://github.com/apache/lucene-solr/pull/174.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 #174
    
----
commit 3ee723ff5e142f60d1208729d1ede6939fe2d703
Author: Rishabh Patel <rishabh.mahendra.patel@gmail.com>
Date:   2015-06-27T06:16:39Z

    LUCENE-6628: Checking for null returned by getChild

----


> Null value dereference
> ----------------------
>
>                 Key: LUCENE-6628
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6628
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/queryparser
>    Affects Versions: Trunk
>            Reporter: Rishabh Patel
>            Priority: Minor
>              Labels: github-pullrequest
>             Fix For: Trunk
>
>
> In the file {{SlopQueryNode.java}}, the values returned {{getChild()}} and {{getChildren()}}
could be null. Further operations on them could result in null pointer exceptions. 
> Fix by adding checks for null to the values returned by {{getChild()}} and {{getChildren()}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message