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

ASF subversion and git services commented on GEODE-1674:
--------------------------------------------------------

Commit 6e8f42f38af3914cea943a48c14f868590b8964e in incubator-geode's branch 
refs/heads/develop from [~nnag]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-geode.git;h=6e8f42f ]

GEODE-1674: Using a immuatable object to pass the HashIndexSet and its mask

        * Immutable ojects pairs the mask and set together
        * There is no race condition in which the mask differs from the set 
leading to any ArrayOutOfBoundsException.


> Race condition in HashIndexSetIterator leads to ArrayOutOfBoundsException
> -------------------------------------------------------------------------
>
>                 Key: GEODE-1674
>                 URL: https://issues.apache.org/jira/browse/GEODE-1674
>             Project: Geode
>          Issue Type: Bug
>          Components: querying
>            Reporter: nabarun
>
> Object array may be reassigned by the time the function is trying to access 
> current element and the mask value may be larger than the size of the array 
> and this will lead to array out bounds exception.
> location : private HashIndexSetIterator(Object keyToMatch, Object[] objects) 
> in HashIndexSet.java



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

Reply via email to